summaryrefslogtreecommitdiffstats
path: root/tools/perf/pmu-events/README
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-07-24 17:16:38 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-25 22:46:36 -0300
commit3f056b66647bafc39f060a57289320765915972c (patch)
tree5e8c6ba82fc3e5743f7f39e93fb241a9b1200282 /tools/perf/pmu-events/README
parenta1a8bed32de197801bb861fbf13cd01496df3e05 (diff)
downloadlinux-3f056b66647bafc39f060a57289320765915972c.tar.bz2
perf jevents: Make build fail on JSON parse error
Today, when a JSON file fails parsing the build continues, but there are no json files built in, which is difficult to debug later. Make the build stop on a parse error instead. v2: Add fixes from Sukadev. Now we handle architectures with no JSON events correctly. And fix some stale comments. Committer note: Tested by running the cross build container tests, that were all failing for v1. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20170725001638.19990-1-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events/README')
-rw-r--r--tools/perf/pmu-events/README4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/pmu-events/README b/tools/perf/pmu-events/README
index 1408ade0d773..c2ee3e4417fe 100644
--- a/tools/perf/pmu-events/README
+++ b/tools/perf/pmu-events/README
@@ -85,10 +85,6 @@ users to specify events by their name:
where 'pm_1plus_ppc_cmpl' is a Power8 PMU event.
-In case of errors when processing files in the tools/perf/pmu-events/arch
-directory, 'jevents' tries to create an empty mapping file to allow the perf
-build to succeed even if the PMU event aliases cannot be used.
-
However some errors in processing may cause the perf build to fail.
Mapfile format