2022-12-09 04:02:52

by Donglin Peng

[permalink] [raw]
Subject: [PATCH] docs: ftrace: fix a issue with duplicated subtitle number

The subtitle "5.3 Clearing filters" and "5.3 Subsystem filters" has
the same index number, let's fix it.

Fixes: 95b696088c1c ("tracing/filters: add filter Documentation")
Signed-off-by: Donglin Peng <[email protected]>
---
Documentation/trace/events.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst
index c47f381d0c00..8f86eef1bada 100644
--- a/Documentation/trace/events.rst
+++ b/Documentation/trace/events.rst
@@ -258,7 +258,7 @@ file.
To clear the filters for all events in a subsystem, write a '0' to the
subsystem's filter file.

-5.3 Subsystem filters
+5.4 Subsystem filters
---------------------

For convenience, filters for every event in a subsystem can be set or
@@ -305,7 +305,7 @@ their old filters)::
# cat sched_wakeup/filter
common_pid == 0

-5.4 PID filtering
+5.5 PID filtering
-----------------

The set_event_pid file in the same directory as the top events directory
--
2.25.1


2022-12-09 22:07:14

by Steven Rostedt

[permalink] [raw]
Subject: Re: [PATCH] docs: ftrace: fix a issue with duplicated subtitle number

On Thu, 8 Dec 2022 18:51:19 -0800
Donglin Peng <[email protected]> wrote:

> The subtitle "5.3 Clearing filters" and "5.3 Subsystem filters" has
> the same index number, let's fix it.
>
> Fixes: 95b696088c1c ("tracing/filters: add filter Documentation")
> Signed-off-by: Donglin Peng <[email protected]>

Acked-by: Steven Rostedt (Google) <[email protected]>

Jon, care to take this?

Thanks!

-- Steve

> ---
> Documentation/trace/events.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst
> index c47f381d0c00..8f86eef1bada 100644
> --- a/Documentation/trace/events.rst
> +++ b/Documentation/trace/events.rst
> @@ -258,7 +258,7 @@ file.
> To clear the filters for all events in a subsystem, write a '0' to the
> subsystem's filter file.
>
> -5.3 Subsystem filters
> +5.4 Subsystem filters
> ---------------------
>
> For convenience, filters for every event in a subsystem can be set or
> @@ -305,7 +305,7 @@ their old filters)::
> # cat sched_wakeup/filter
> common_pid == 0
>
> -5.4 PID filtering
> +5.5 PID filtering
> -----------------
>
> The set_event_pid file in the same directory as the top events directory

2023-01-03 00:02:18

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: ftrace: fix a issue with duplicated subtitle number

Steven Rostedt <[email protected]> writes:

> On Thu, 8 Dec 2022 18:51:19 -0800
> Donglin Peng <[email protected]> wrote:
>
>> The subtitle "5.3 Clearing filters" and "5.3 Subsystem filters" has
>> the same index number, let's fix it.
>>
>> Fixes: 95b696088c1c ("tracing/filters: add filter Documentation")
>> Signed-off-by: Donglin Peng <[email protected]>
>
> Acked-by: Steven Rostedt (Google) <[email protected]>
>
> Jon, care to take this?

Done.

Thanks,

jon