docs: ftrace: fix a issue with duplicated subtitle number

Message ID 20221209025119.1371570-1-dolinux.peng@gmail.com
State New
Headers
Series docs: ftrace: fix a issue with duplicated subtitle number |

Commit Message

Donglin Peng Dec. 9, 2022, 2:51 a.m. UTC
  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 <dolinux.peng@gmail.com>
---
 Documentation/trace/events.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Steven Rostedt Dec. 9, 2022, 9:42 p.m. UTC | #1
On Thu,  8 Dec 2022 18:51:19 -0800
Donglin Peng <dolinux.peng@gmail.com> 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 <dolinux.peng@gmail.com>

Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>

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
  
Jonathan Corbet Jan. 2, 2023, 11:30 p.m. UTC | #2
Steven Rostedt <rostedt@goodmis.org> writes:

> On Thu,  8 Dec 2022 18:51:19 -0800
> Donglin Peng <dolinux.peng@gmail.com> 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 <dolinux.peng@gmail.com>
>
> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
>
> Jon, care to take this?

Done.

Thanks,

jon
  

Patch

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