trace.h: correct typo in code comment
PATCH 1/1 trace.h: correct typo in code comment
Signed-off-by Chuyu Hu <[email protected]>
--- kernel/trace/trace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/trace/trace.h +2 -2
@@ -363,8 +363,8 @@ struct trace_option_dentry {* @name: the name chosen to select it on the available_tracers file * @init: called when one switches to this tracer (echo name > current_tracer) * @reset: called when one switches to another tracer -* @start: called when tracing is unpaused (echo 1 > tracing_enabled) -* @stop: called when tracing is paused (echo 0 > tracing_enabled) +* @start: called when tracing is unpaused (echo 1 > tracing_on) +* @stop: called when tracing is paused (echo 0 > tracing_on) * @update_thresh: called when tracing_thresh is updated * @open: called when the trace file is opened * @pipe_open: called when the trace_pipe file is opened
Signature · 1 line
1.8.3.1
Steven Rostedt
maintainerOn Tue, 22 Dec 2015 09:44:33 -0500
Chuyu Hu <[email protected]> wrote:
Thanks, I'll add this. But it's not a typo. It's just outdated.
I'll fix up the subject too.
-- Steve
Quoted 20 lines
Signed-off-by Chuyu Hu <[email protected]>--- kernel/trace/trace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)kernel/trace/trace.h +2
-2@@ -363,8 +363,8 @@ struct trace_option_dentry {* @name: the name chosen to select it on the available_tracers file * @init: called when one switches to this tracer (echo name > current_tracer) * @reset: called when one switches to another tracer -* @start: called when tracing is unpaused (echo 1 > tracing_enabled) -* @stop: called when tracing is paused (echo 0 > tracing_enabled) +* @start: called when tracing is unpaused (echo 1 > tracing_on) +* @stop: called when tracing is paused (echo 0 > tracing_on) * @update_thresh: called when tracing_thresh is updated * @open: called when the trace file is opened * @pipe_open: called when the trace_pipe file is opened