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

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