Skip to content

Commit 05a724b

Browse files
Chunyu-Hurostedt
authored andcommitted
tracing: Fix comment to use tracing_on over tracing_enable
The file tracing_enable is obsolete and does not exist anymore. Replace the comment that references it with the proper tracing_on file. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Chuyu Hu <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
1 parent e9b349f commit 05a724b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/trace/trace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ struct trace_option_dentry {
363363
* @name: the name chosen to select it on the available_tracers file
364364
* @init: called when one switches to this tracer (echo name > current_tracer)
365365
* @reset: called when one switches to another tracer
366-
* @start: called when tracing is unpaused (echo 1 > tracing_enabled)
367-
* @stop: called when tracing is paused (echo 0 > tracing_enabled)
366+
* @start: called when tracing is unpaused (echo 1 > tracing_on)
367+
* @stop: called when tracing is paused (echo 0 > tracing_on)
368368
* @update_thresh: called when tracing_thresh is updated
369369
* @open: called when the trace file is opened
370370
* @pipe_open: called when the trace_pipe file is opened

0 commit comments

Comments
 (0)