mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
750912fa36
Add an "overwrite" trace_option for ftrace to control whether the buffer should be overwritten on overflow or not. The default remains to overwrite old events when the buffer is full. This patch adds the option to instead discard newest events when the buffer is full. This is useful to get a snapshot of traces just after enabling traces. Dropping the current event is also a simpler code path. Signed-off-by: David Sharp <dhsharp@google.com> LKML-Reference: <1291844807-15481-1-git-send-email-dhsharp@google.com> 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 |