1
0
Python-project/build/exe.win32-3.7/lib/test/dtracedata/gc.d

19 lines
297 B
D
Raw Normal View History

2019-02-07 14:26:48 +01:00
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;
}