Blame 0001-perf-tools-Fix-man-page-build-wrt-perf-arm-coresight.patch

Justin M. Forbes 2b3bee
From 9c9d8f1b7327830376445c4dd05b121e1525c93f Mon Sep 17 00:00:00 2001
Justin M. Forbes 2b3bee
From: Adrian Hunter <adrian.hunter@intel.com>
Justin M. Forbes 2b3bee
Date: Mon, 17 Oct 2022 12:35:49 +0300
Justin M. Forbes 2b3bee
Subject: [PATCH] perf tools: Fix man page build wrt perf-arm-coresight.txt
Justin M. Forbes 2b3bee
Justin M. Forbes 2b3bee
perf build assumes documentation files starting with "perf-" are man
Justin M. Forbes 2b3bee
pages but perf-arm-coresight.txt is not a man page:
Justin M. Forbes 2b3bee
Justin M. Forbes 2b3bee
asciidoc: ERROR: perf-arm-coresight.txt: line 2: malformed manpage title
Justin M. Forbes 2b3bee
asciidoc: ERROR: perf-arm-coresight.txt: line 3: name section expected
Justin M. Forbes 2b3bee
asciidoc: FAILED: perf-arm-coresight.txt: line 3: section title expected
Justin M. Forbes 2b3bee
make[3]: *** [Makefile:266: perf-arm-coresight.xml] Error 1
Justin M. Forbes 2b3bee
make[3]: *** Waiting for unfinished jobs....
Justin M. Forbes 2b3bee
make[2]: *** [Makefile.perf:895: man] Error 2
Justin M. Forbes 2b3bee
Justin M. Forbes 2b3bee
Fix by renaming it.
Justin M. Forbes 2b3bee
Justin M. Forbes 2b3bee
Reported-by: Sven Schnelle <svens@linux.ibm.com>
Justin M. Forbes 2b3bee
Reported-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Justin M. Forbes 2b3bee
Fixes: dc2e0fb00bb2 ("perf test coresight: Add relevant documentation about ARM64 CoreSight testing")
Justin M. Forbes 2b3bee
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Justin M. Forbes 2b3bee
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Justin M. Forbes 2b3bee
---
Justin M. Forbes 2b3bee
 tools/perf/Documentation/arm-coresight.txt      | 5 +++++
Justin M. Forbes 2b3bee
 tools/perf/Documentation/perf-arm-coresight.txt | 5 -----
Justin M. Forbes 2b3bee
 2 files changed, 5 insertions(+), 5 deletions(-)
Justin M. Forbes 2b3bee
 create mode 100644 tools/perf/Documentation/arm-coresight.txt
Justin M. Forbes 2b3bee
 delete mode 100644 tools/perf/Documentation/perf-arm-coresight.txt
Justin M. Forbes 2b3bee
Justin M. Forbes 2b3bee
diff --git a/tools/perf/Documentation/arm-coresight.txt b/tools/perf/Documentation/arm-coresight.txt
Justin M. Forbes 2b3bee
new file mode 100644
Justin M. Forbes 2b3bee
index 000000000000..c117fc50a2a9
Justin M. Forbes 2b3bee
--- /dev/null
Justin M. Forbes 2b3bee
+++ b/tools/perf/Documentation/arm-coresight.txt
Justin M. Forbes 2b3bee
@@ -0,0 +1,5 @@
Justin M. Forbes 2b3bee
+Arm CoreSight Support
Justin M. Forbes 2b3bee
+=====================
Justin M. Forbes 2b3bee
+
Justin M. Forbes 2b3bee
+For full documentation, see Documentation/trace/coresight/coresight-perf.rst
Justin M. Forbes 2b3bee
+in the kernel tree.
Justin M. Forbes 2b3bee
diff --git a/tools/perf/Documentation/perf-arm-coresight.txt b/tools/perf/Documentation/perf-arm-coresight.txt
Justin M. Forbes 2b3bee
deleted file mode 100644
Justin M. Forbes 2b3bee
index c117fc50a2a9..000000000000
Justin M. Forbes 2b3bee
--- a/tools/perf/Documentation/perf-arm-coresight.txt
Justin M. Forbes 2b3bee
+++ /dev/null
Justin M. Forbes 2b3bee
@@ -1,5 +0,0 @@
Justin M. Forbes 2b3bee
-Arm CoreSight Support
Justin M. Forbes 2b3bee
-=====================
Justin M. Forbes 2b3bee
-
Justin M. Forbes 2b3bee
-For full documentation, see Documentation/trace/coresight/coresight-perf.rst
Justin M. Forbes 2b3bee
-in the kernel tree.
Justin M. Forbes 2b3bee
-- 
Justin M. Forbes 2b3bee
2.37.3
Justin M. Forbes 2b3bee