Debian Codegraph @

EXAMPLES/general/para-callgraph-verbose.meta

raw
1 title: Callgraph Tracing with Verbose Arguments
2 name: para-callgraph-verbose.stp
3 version: 1.0
4 author: anonymous
5 keywords: trace callgraph
6 subsystem: any
7 status: proposed
8 exit: user-controlled
9 output: trace
10 scope: system-wide
11 description: Print a timed per-thread microsecond-timed callgraph, complete with pretty-printed function parameters and return values. The first parameter names the function probe points to trace. The optional second parameter names the probe points for trigger functions, which acts to enable tracing for only those functions that occur while the current thread is nested within the trigger.
12 test_check: stap -p4 para-callgraph-verbose.stp 'kernel.function("*@fs/proc*.c")' 'kernel.function("vfs_read")'
13 test_installcheck: stap para-callgraph-verbose.stp 'kernel.function("*@fs/proc*.c")' 'kernel.function("vfs_read")' -c "cat /proc/sys/vm/* || true"