Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 6ec5cf24b7f38ea72bb42d5cd60dca0d3ee332f9 authored by Ned Deily on 20 October 2018, 05:24:09 UTC
3.6.7final
Tip revision: 6ec5cf2
gc.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;
}
back to top