Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 7f193e89698818de5fc60a8667de786036bbef95 authored by Ned Deily on 02 July 2019, 18:51:09 UTC
3.7.4rc2
Tip revision: 7f193e8
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