mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 09:17:53 +00:00
18 lines
297 B
D
18 lines
297 B
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;
|
|
}
|