tracing: Add function probe to trigger a ftrace dump to console
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 30 Apr 2013 19:46:14 +0000 (15:46 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 11 Jun 2013 22:38:46 +0000 (18:38 -0400)
Add the "dump" command to have the ftrace buffer dumped to console if
a function is hit. This is useful when debugging a tripple fault,
where you have an idea of a function that is called just before the
tripple fault occurs, and can tell ftrace to dump its content out
to the console before it continues.

Format is:

  <function>:dump

echo 'bad_address:dump' > /debug/tracing/set_ftrace_filter

To remove this:

echo '!bad_address:dump' > /debug/tracing/set_ftrace_filter

Requested-by: Luis Claudio R. Goncalves <lclaudio@uudg.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found