* [PATCH] trace.h: correct typo in code comment
@ 2015-12-22 12:25 Chuyu Hu
2015-12-22 19:29 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Chuyu Hu @ 2015-12-22 12:25 UTC (permalink / raw)
To: srostedt; +Cc: linux-kernel, jstancek, liwan
Signed-off-by: Chuyu Hu <chuhu@redhat.com>
---
kernel/trace/trace.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 919d9d0..c71d54b 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -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
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] trace.h: correct typo in code comment
2015-12-22 12:25 [PATCH] trace.h: correct typo in code comment Chuyu Hu
@ 2015-12-22 19:29 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2015-12-22 19:29 UTC (permalink / raw)
To: Chuyu Hu; +Cc: srostedt, linux-kernel, jstancek, liwan
On Tue, 22 Dec 2015 09:44:33 -0500
Chuyu Hu <chuhu@redhat.com> wrote:
Thanks, I'll add this. But it's not a typo. It's just outdated.
I'll fix up the subject too.
-- Steve
> Signed-off-by: Chuyu Hu <chuhu@redhat.com>
> ---
> kernel/trace/trace.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
> index 919d9d0..c71d54b 100644
> --- a/kernel/trace/trace.h
> +++ b/kernel/trace/trace.h
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-22 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-22 12:25 [PATCH] trace.h: correct typo in code comment Chuyu Hu
2015-12-22 19:29 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®