![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/profiling/ |
#!/opt/rh/gcc-toolset-11/root/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) }