Server IP : 213.176.29.180  /  Your IP : 18.220.204.184
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/../share/tk8.6/../doc/bind/../gawk/../prefixdevname/../less/../perl-devel/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/../share/tk8.6/../doc/bind/../gawk/../prefixdevname/../less/../perl-devel/perl-example.stp
/*
    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)
}