Re: linux-next: build warning after merge of the ftrace tree

From: Steven Rostedt
Date: Mon Aug 23 2021 - 10:00:17 EST


On Mon, 23 Aug 2021 19:58:04 +1000
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Hi all,
>
> After merging the ftrace tree, today's linux-next build (htmldocs)
> produced this warning:
>
> Documentation/trace/histogram.rst:80: WARNING: Malformed table.
> Text in column margin in table line 8.
>
> =========== ==========================================
> .hex display a number as a hex value
> .sym display an address as a symbol
> .sym-offset display an address as a symbol and offset
> .syscall display a syscall id as a system call name
> .execname display a common_pid as a program name
> .log2 display log2 value rather than raw number
> .buckets=size display grouping of values rather than raw number
> .usecs display a common_timestamp in microseconds
> =========== ==========================================
>
> Introduced by commit
>
> 370364351926 ("tracing/histogram: Update the documentation for the buckets modifier")
>

Hi Stephen,

Does the below fix it?

-- Steve

diff --git a/Documentation/trace/histogram.rst b/Documentation/trace/histogram.rst
index 4e650671f245..533415644c54 100644
--- a/Documentation/trace/histogram.rst
+++ b/Documentation/trace/histogram.rst
@@ -70,16 +70,16 @@ Documentation written by Tom Zanussi
modified by appending any of the following modifiers to the field
name:

- =========== ==========================================
- .hex display a number as a hex value
- .sym display an address as a symbol
- .sym-offset display an address as a symbol and offset
- .syscall display a syscall id as a system call name
- .execname display a common_pid as a program name
- .log2 display log2 value rather than raw number
+ ============= =================================================
+ .hex display a number as a hex value
+ .sym display an address as a symbol
+ .sym-offset display an address as a symbol and offset
+ .syscall display a syscall id as a system call name
+ .execname display a common_pid as a program name
+ .log2 display log2 value rather than raw number
.buckets=size display grouping of values rather than raw number
- .usecs display a common_timestamp in microseconds
- =========== ==========================================
+ .usecs display a common_timestamp in microseconds
+ ============= =================================================

Note that in general the semantics of a given field aren't
interpreted when applying a modifier to it, but there are some