summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-03-12 16:49:18 +0100
committerSteven Rostedt <rostedt@goodmis.org>2013-03-15 05:36:01 +0100
commit77fd5c15e3216b901be69047ca43b05ae9099951 (patch)
tree1790b9bacd1d371cf03902efaf99cdc9d08abdec /ipc
parenttracing: Add alloc/free_snapshot() to replace duplicate code (diff)
downloadlinux-77fd5c15e3216b901be69047ca43b05ae9099951.tar.xz
linux-77fd5c15e3216b901be69047ca43b05ae9099951.zip
tracing: Add snapshot trigger to function probes
echo 'schedule:snapshot:1' > /debug/tracing/set_ftrace_filter This will cause the scheduler to trigger a snapshot the next time it's called (you can use any function that's not called by NMI). Even though it triggers only once, you still need to remove it with: echo '!schedule:snapshot:0' > /debug/tracing/set_ftrace_filter The :1 can be left off for the first command: echo 'schedule:snapshot' > /debug/tracing/set_ftrace_filter But this will cause all calls to schedule to trigger a snapshot. This must be removed without the ':0' echo '!schedule:snapshot' > /debug/tracing/set_ftrace_filter As adding a "count" is a different operation (internally). Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions