003 File Manager
Current Path:
/usr/local/lib/python3.8/test/dtracedata
usr
/
local
/
lib
/
python3.8
/
test
/
dtracedata
/
📁
..
📁
__pycache__
📄
assert_usable.d
(55 B)
📄
assert_usable.stp
(54 B)
📄
call_stack.d
(657 B)
📄
call_stack.d.expected
(797 B)
📄
call_stack.py
(492 B)
📄
call_stack.stp
(807 B)
📄
call_stack.stp.expected
(606 B)
📄
gc.d
(297 B)
📄
gc.d.expected
(84 B)
📄
gc.py
(155 B)
📄
gc.stp
(444 B)
📄
gc.stp.expected
(92 B)
📄
instance.py
(317 B)
📄
line.d
(179 B)
📄
line.d.expected
(506 B)
📄
line.py
(293 B)
Editing: call_stack.d
self int indent; python$target:::function-entry /copyinstr(arg1) == "start"/ { self->trace = 1; } python$target:::function-entry /self->trace/ { printf("%d\t%*s:", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2); self->indent++; } python$target:::function-return /self->trace/ { self->indent--; printf("%d\t%*s:", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2); } python$target:::function-return /copyinstr(arg1) == "start"/ { self->trace = 0; }
Upload File
Create Folder