Skip to contentSkip to conversation

trace.h: correct typo in code comment

PATCH In review Chuyu Hu 2 participants 2 messages Dec 22, 2015 Tracing

lore
Share & tools
lore

Chuyu Hu

author
#0 lore raw

PATCH 1/1 trace.h: correct typo in code comment

---
 kernel/trace/trace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/trace/trace.h +2 -2
index 919d9d0..c71d54b 100644
@@ -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
maintainer
#1 lore raw

On 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
---
 kernel/trace/trace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/trace/trace.h +2 -2
index 919d9d0..c71d54b 100644
@@ -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