diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-04-30 19:46:14 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-06-11 22:38:46 (GMT) |
commit | ad71d889b88055e61e3970a6744a271a51a94f42 (patch) | |
tree | 716f6e043847000a82449270e3b2d5dcdc9c4f79 /Documentation/prctl | |
parent | 317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff) | |
download | linux-ad71d889b88055e61e3970a6744a271a51a94f42.tar.xz |
tracing: Add function probe to trigger a ftrace dump to console
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>
Diffstat (limited to 'Documentation/prctl')
0 files changed, 0 insertions, 0 deletions