Re: [PATCH v2] doc: clarify that trace_events= takes a comma-separated list

From: Steven Rostedt
Date: Mon May 23 2016 - 16:54:59 EST


On Mon, 23 May 2016 13:37:58 -0700
Brian Norris <computersforpeace@xxxxxxxxx> wrote:

> It took me browsing through the source code to determine that I was,
> indeed, using the wrong delimiter in my command lines. So I might as
> well document it for the next person.
>

This version looks good to me. Jonathan, you want to take this patch?

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve

> Signed-off-by: Brian Norris <computersforpeace@xxxxxxxxx>
> ---
> v2: remove language about /sys/kernel/debug/tracing/set_event, to avoid
> implying it also takes a comma separated list
>
> Documentation/kernel-parameters.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 82b42c958d1c..a2a662d4da83 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -3992,8 +3992,9 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
>
> trace_event=[event-list]
> [FTRACE] Set and start specified trace events in order
> - to facilitate early boot debugging.
> - See also Documentation/trace/events.txt
> + to facilitate early boot debugging. The event-list is a
> + comma separated list of trace events to enable. See
> + also Documentation/trace/events.txt
>
> trace_options=[option-list]
> [FTRACE] Enable or disable tracer options at boot.