mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
90e3c03c3a
Add the "cpudump" command to have the current CPU 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. This differs from the "dump" command as it only dumps the content of the ring buffer for the currently executing CPU, and does not show the contents of the other CPUs. Format is: <function>:cpudump echo 'bad_address:cpudump' > /debug/tracing/set_ftrace_filter To remove this: echo '!bad_address:cpudump' > /debug/tracing/set_ftrace_filter Signed-off-by: Steven Rostedt <rostedt@goodmis.org> |
||
---|---|---|
.. | ||
postprocess | ||
events-kmem.txt | ||
events-power.txt | ||
events.txt | ||
ftrace-design.txt | ||
ftrace.txt | ||
function-graph-fold.vim | ||
kprobetrace.txt | ||
mmiotrace.txt | ||
ring-buffer-design.txt | ||
tracepoint-analysis.txt | ||
tracepoints.txt | ||
uprobetracer.txt |