Python-project/build/exe.win32-3.7/lib/test/dtracedata/gc.d
2019-02-14 22:53:20 +01:00

19 lines
297 B
D

python$target:::function-entry
/copyinstr(arg1) == "start"/
{
self->trace = 1;
}
python$target:::gc-start,
python$target:::gc-done
/self->trace/
{
printf("%d\t%s:%ld\n", timestamp, probename, arg0);
}
python$target:::function-return
/copyinstr(arg1) == "start"/
{
self->trace = 0;
}