projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8623b00
)
tracing: Fix documentation about disabling options using trace_options
author
Srivatsa S. Bhat (VMware)
<srivatsa@csail.mit.edu>
Tue, 29 Jan 2019 01:55:53 +0000
(17:55 -0800)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Wed, 8 May 2019 16:15:12 +0000
(12:15 -0400)
To disable a tracing option using the trace_options file, the option
name needs to be prefixed with 'no', and not suffixed, as the README
states. Fix it.
Link:
http://lkml.kernel.org/r/154872690031.47356.5739053380942044586.stgit@srivatsa-ubuntu
Signed-off-by: Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index 4269af5905e4bf29880264b14fcf845d873843ab..a3a6945a7732762c7153906cd22861acb30e9d1a 100644
(file)
--- a/
kernel/trace/trace.c
+++ b/
kernel/trace/trace.c
@@
-4755,7
+4755,7
@@
static const char readme_msg[] =
" instances\t\t- Make sub-buffers with: mkdir instances/foo\n"
"\t\t\t Remove sub-buffer with rmdir\n"
" trace_options\t\t- Set format or modify how tracing happens\n"
- "\t\t\t Disable an option by
adding a suffix
'no' to the\n"
+ "\t\t\t Disable an option by
prefixing
'no' to the\n"
"\t\t\t option name\n"
" saved_cmdlines_size\t- echo command number in here to store comm-pid list\n"
#ifdef CONFIG_DYNAMIC_FTRACE