D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
python2-libs
/
Filename :
systemtap-example.stp
back
Copy
/* Example usage of the Python systemtap tapset to show a nested view of all Python function calls (and returns) across the whole system. Run this using stap systemtap-example.stp to instrument all Python processes on the system, or (for example) using stap systemtap-example.stp -c COMMAND to instrument a specific program (implemented in Python) */ probe python.function.entry { printf("%s => %s in %s:%d\n", thread_indent(1), funcname, filename, lineno); } probe python.function.return { printf("%s <= %s in %s:%d\n", thread_indent(-1), funcname, filename, lineno); }
Name
Size
Last Modified
Owner
Permissions
Actions
README
54.047
KB
April 19 2020 9:13:39
root
0644
pyfuntop.stp
0.524
KB
April 10 2024 4:48:26
root
0644
systemtap-example.stp
0.599
KB
April 10 2024 4:48:26
root
0644
2017 © D7net | D704T team