MinDalle_StableDiff/Python310/Lib/test/dtracedata/gc.d

19 lines
297 B
D
Raw Normal View History

2022-09-17 15:26:13 +03: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;
}