Size: 671
Comment: add link text
|
Size: 751
Comment: latrace (suggested-by: jwilk)
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
|| ELF (functions) || DebianPackage:latrace || `latrace program args` || | |
Line 9: | Line 10: |
|| Python || [[https://docs.python.org/3/library/trace.html|Python trace module]] || `python -m trace --count somefile.py ...` || | || Python || [[https://docs.python.org/3/library/trace.html|Python trace module]] || `python -m trace --count /usr/bin/program args` || |
There are various ways to trace execution of programs written in various languages:
Program type |
Tool |
Command-line |
ELF (syscalls) |
strace program args |
|
ELF (functions) |
ltrace program args |
|
ELF (functions) |
latrace program args |
|
Shell |
all shells |
sh -x /usr/bin/program args |
Perl |
perl -d:Trace /usr/bin/program args |
|
Ruby |
rbtrace --exec /usr/bin/program args |
|
Python |
python -m trace --count /usr/bin/program args |