summaryrefslogtreecommitdiff
path: root/Lib/test/dtracedata/gc.d
blob: 4d91487b7e966abec97a1a9d96a70145922fa92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}