Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/share/systemtap/examples/profiling/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/systemtap/examples/profiling/graphcall.stp
#!/usr/bin/stap

# When the output of this script is fed to stapgraph, it produces a
# mousable event line with events at each call of interest. When the
# event is hovered over, the backtrace is displayed in stapgraph.

probe begin
{
    printf("%%DataSet:call 75 ff0000 discreet\n")
    printf("call %%Title:Calls to %s\n", @2)
    printf ("call %%XAxisTitle:Time\n")
    printf ("%%LineEnd:0\n")
}

probe process(@1).function(@2).call {
    printf("call %d ", gettimeofday_ms())
    print_ubacktrace_brief();
    printf("%c", 0)
}

haha - 2025