Re: [PATCH] trace.h: correct typo in code comment

From: Steven Rostedt
Date: Tue Dec 22 2015 - 14:29:33 EST


On Tue, 22 Dec 2015 09:44:33 -0500
Chuyu Hu <chuhu@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/