| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /usr/share/systemtap/examples/general/ |
| Current File : //usr/share/systemtap/examples/general/callgraph.stp |
#!/usr/bin/stap
function trace(entry_p)
{
printf("%s%s%s\n",
thread_indent (entry_p),
(entry_p>0?"->":"<-"),
ppfunc ())
}
probe $1.call { trace(1) }
probe $1.return { trace(-1) }