Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
share
/
doc
/
perl-devel
Upload
3 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
perl-example.stp
576 B
-rw-r--r--
2023-01-19 08:44:18
Edit
Del
Editing: perl-example.stp
(576 B)
Path: /usr/share/doc/perl-devel/perl-example.stp
Back
/* Example of the perl systemtap tapset shows a nested view of perl subroutine calls and returns across the whole system. To run: stap perl-example.stp (for all perl processes) For specific perl process: stap perl-example.stp -c COMMAND */ probe perl.sub.call { printf("%s => sub: %s, filename: %s, line: %d, package: %s\n", thread_indent(1), sub, filename, lineno, package) } probe perl.sub.return { printf("%s <= sub: %s, filename: %s, line: %d, package: %s\n", thread_indent(-1), sub, filename, lineno, package) }