All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf: doc: Correct title markers for asciidoctor
@ 2018-03-07 10:54 Takashi Iwai
  2018-03-07 13:26 ` Arnaldo Carvalho de Melo
  2018-03-09  8:41 ` [tip:perf/core] perf tools: " tip-bot for Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Takashi Iwai @ 2018-03-07 10:54 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo; +Cc: linux-kernel

I've tested to process the perf man pages with asciidoctor that is
picker than asciidoc, and it revealed minor syntax errors in some
documents.  Namely, the title markers aren't aligned with the previous
line, hence asciidoctor didn't recognize as titles.

This patch corrects these markers to be processed properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 tools/perf/Documentation/perf-data.txt        | 2 +-
 tools/perf/Documentation/perf-ftrace.txt      | 2 +-
 tools/perf/Documentation/perf-kallsyms.txt    | 2 +-
 tools/perf/Documentation/perf-sched.txt       | 2 +-
 tools/perf/Documentation/perf-script-perl.txt | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/perf/Documentation/perf-data.txt b/tools/perf/Documentation/perf-data.txt
index 90bb4aabe4f8..c87180764829 100644
--- a/tools/perf/Documentation/perf-data.txt
+++ b/tools/perf/Documentation/perf-data.txt
@@ -1,5 +1,5 @@
 perf-data(1)
-==============
+============
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-ftrace.txt b/tools/perf/Documentation/perf-ftrace.txt
index 721a447f046e..b80c84307dc9 100644
--- a/tools/perf/Documentation/perf-ftrace.txt
+++ b/tools/perf/Documentation/perf-ftrace.txt
@@ -1,5 +1,5 @@
 perf-ftrace(1)
-=============
+==============
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-kallsyms.txt b/tools/perf/Documentation/perf-kallsyms.txt
index 954ea9e21236..cdd421cd1c57 100644
--- a/tools/perf/Documentation/perf-kallsyms.txt
+++ b/tools/perf/Documentation/perf-kallsyms.txt
@@ -1,5 +1,5 @@
 perf-kallsyms(1)
-==============
+================
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt
index c7e50f263887..bb33601a823b 100644
--- a/tools/perf/Documentation/perf-sched.txt
+++ b/tools/perf/Documentation/perf-sched.txt
@@ -1,5 +1,5 @@
 perf-sched(1)
-==============
+=============
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-script-perl.txt b/tools/perf/Documentation/perf-script-perl.txt
index 142606c0ec9c..5a1f68122f50 100644
--- a/tools/perf/Documentation/perf-script-perl.txt
+++ b/tools/perf/Documentation/perf-script-perl.txt
@@ -1,5 +1,5 @@
 perf-script-perl(1)
-==================
+===================
 
 NAME
 ----
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf: doc: Correct title markers for asciidoctor
  2018-03-07 10:54 [PATCH] perf: doc: Correct title markers for asciidoctor Takashi Iwai
@ 2018-03-07 13:26 ` Arnaldo Carvalho de Melo
  2018-03-09  8:41 ` [tip:perf/core] perf tools: " tip-bot for Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-03-07 13:26 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Peter Zijlstra, Ingo Molnar, linux-kernel

Em Wed, Mar 07, 2018 at 11:54:41AM +0100, Takashi Iwai escreveu:
> I've tested to process the perf man pages with asciidoctor that is
> picker than asciidoc, and it revealed minor syntax errors in some
> documents.  Namely, the title markers aren't aligned with the previous
> line, hence asciidoctor didn't recognize as titles.
> 
> This patch corrects these markers to be processed properly.

Thanks, applying.

- Arnaldo
 
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
>  tools/perf/Documentation/perf-data.txt        | 2 +-
>  tools/perf/Documentation/perf-ftrace.txt      | 2 +-
>  tools/perf/Documentation/perf-kallsyms.txt    | 2 +-
>  tools/perf/Documentation/perf-sched.txt       | 2 +-
>  tools/perf/Documentation/perf-script-perl.txt | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tools/perf/Documentation/perf-data.txt b/tools/perf/Documentation/perf-data.txt
> index 90bb4aabe4f8..c87180764829 100644
> --- a/tools/perf/Documentation/perf-data.txt
> +++ b/tools/perf/Documentation/perf-data.txt
> @@ -1,5 +1,5 @@
>  perf-data(1)
> -==============
> +============
>  
>  NAME
>  ----
> diff --git a/tools/perf/Documentation/perf-ftrace.txt b/tools/perf/Documentation/perf-ftrace.txt
> index 721a447f046e..b80c84307dc9 100644
> --- a/tools/perf/Documentation/perf-ftrace.txt
> +++ b/tools/perf/Documentation/perf-ftrace.txt
> @@ -1,5 +1,5 @@
>  perf-ftrace(1)
> -=============
> +==============
>  
>  NAME
>  ----
> diff --git a/tools/perf/Documentation/perf-kallsyms.txt b/tools/perf/Documentation/perf-kallsyms.txt
> index 954ea9e21236..cdd421cd1c57 100644
> --- a/tools/perf/Documentation/perf-kallsyms.txt
> +++ b/tools/perf/Documentation/perf-kallsyms.txt
> @@ -1,5 +1,5 @@
>  perf-kallsyms(1)
> -==============
> +================
>  
>  NAME
>  ----
> diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt
> index c7e50f263887..bb33601a823b 100644
> --- a/tools/perf/Documentation/perf-sched.txt
> +++ b/tools/perf/Documentation/perf-sched.txt
> @@ -1,5 +1,5 @@
>  perf-sched(1)
> -==============
> +=============
>  
>  NAME
>  ----
> diff --git a/tools/perf/Documentation/perf-script-perl.txt b/tools/perf/Documentation/perf-script-perl.txt
> index 142606c0ec9c..5a1f68122f50 100644
> --- a/tools/perf/Documentation/perf-script-perl.txt
> +++ b/tools/perf/Documentation/perf-script-perl.txt
> @@ -1,5 +1,5 @@
>  perf-script-perl(1)
> -==================
> +===================
>  
>  NAME
>  ----
> -- 
> 2.16.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/core] perf tools: Correct title markers for asciidoctor
  2018-03-07 10:54 [PATCH] perf: doc: Correct title markers for asciidoctor Takashi Iwai
  2018-03-07 13:26 ` Arnaldo Carvalho de Melo
@ 2018-03-09  8:41 ` tip-bot for Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Takashi Iwai @ 2018-03-09  8:41 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: tglx, mingo, tiwai, acme, peterz, hpa, linux-kernel

Commit-ID:  ea66536ab2cac7ba1553a677b8114f1b120cd9f2
Gitweb:     https://git.kernel.org/tip/ea66536ab2cac7ba1553a677b8114f1b120cd9f2
Author:     Takashi Iwai <tiwai@suse.de>
AuthorDate: Wed, 7 Mar 2018 11:54:41 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 7 Mar 2018 10:26:32 -0300

perf tools: Correct title markers for asciidoctor

I've tested to process the perf man pages with asciidoctor that is
picker than asciidoc, and it revealed minor syntax errors in some
documents.  Namely, the title markers aren't aligned with the previous
line, hence asciidoctor didn't recognize as titles.

This patch corrects these markers to be processed properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180307105441.28512-1-tiwai@suse.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Documentation/perf-data.txt        | 2 +-
 tools/perf/Documentation/perf-ftrace.txt      | 2 +-
 tools/perf/Documentation/perf-kallsyms.txt    | 2 +-
 tools/perf/Documentation/perf-sched.txt       | 2 +-
 tools/perf/Documentation/perf-script-perl.txt | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/perf/Documentation/perf-data.txt b/tools/perf/Documentation/perf-data.txt
index 90bb4aabe4f8..c87180764829 100644
--- a/tools/perf/Documentation/perf-data.txt
+++ b/tools/perf/Documentation/perf-data.txt
@@ -1,5 +1,5 @@
 perf-data(1)
-==============
+============
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-ftrace.txt b/tools/perf/Documentation/perf-ftrace.txt
index 721a447f046e..b80c84307dc9 100644
--- a/tools/perf/Documentation/perf-ftrace.txt
+++ b/tools/perf/Documentation/perf-ftrace.txt
@@ -1,5 +1,5 @@
 perf-ftrace(1)
-=============
+==============
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-kallsyms.txt b/tools/perf/Documentation/perf-kallsyms.txt
index cf9f4040ea5c..f3c620951f6e 100644
--- a/tools/perf/Documentation/perf-kallsyms.txt
+++ b/tools/perf/Documentation/perf-kallsyms.txt
@@ -1,5 +1,5 @@
 perf-kallsyms(1)
-==============
+================
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt
index c7e50f263887..bb33601a823b 100644
--- a/tools/perf/Documentation/perf-sched.txt
+++ b/tools/perf/Documentation/perf-sched.txt
@@ -1,5 +1,5 @@
 perf-sched(1)
-==============
+=============
 
 NAME
 ----
diff --git a/tools/perf/Documentation/perf-script-perl.txt b/tools/perf/Documentation/perf-script-perl.txt
index 142606c0ec9c..5a1f68122f50 100644
--- a/tools/perf/Documentation/perf-script-perl.txt
+++ b/tools/perf/Documentation/perf-script-perl.txt
@@ -1,5 +1,5 @@
 perf-script-perl(1)
-==================
+===================
 
 NAME
 ----

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-09  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-07 10:54 [PATCH] perf: doc: Correct title markers for asciidoctor Takashi Iwai
2018-03-07 13:26 ` Arnaldo Carvalho de Melo
2018-03-09  8:41 ` [tip:perf/core] perf tools: " tip-bot for Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.