aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-03-17 17:32:31 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-03-27 16:39:01 -0400
commit06e0a548bad0f43a21e036db018e4dadb501ce8b (patch)
tree7587fb20e56bbb7fecf55fb4c9f0c6729b55f67d /kernel/trace/trace.h
parentring-buffer: Do not disable recording when there is an iterator (diff)
downloadwireguard-linux-06e0a548bad0f43a21e036db018e4dadb501ce8b.tar.xz
wireguard-linux-06e0a548bad0f43a21e036db018e4dadb501ce8b.zip
tracing: Do not disable tracing when reading the trace file
When opening the "trace" file, it is no longer necessary to disable tracing. Note, a new option is created called "pause-on-trace", when set, will cause the trace file to emulate its original behavior. Link: http://lkml.kernel.org/r/20200317213416.903351225@goodmis.org Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index c61e1b1c85a6..f37e05135986 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -1302,6 +1302,7 @@ extern int trace_get_user(struct trace_parser *parser, const char __user *ubuf,
C(IRQ_INFO, "irq-info"), \
C(MARKERS, "markers"), \
C(EVENT_FORK, "event-fork"), \
+ C(PAUSE_ON_TRACE, "pause-on-trace"), \
FUNCTION_FLAGS \
FGRAPH_FLAGS \
STACK_FLAGS \