diff options
author | Andi Kleen <[email protected]> | 2017-07-24 17:16:38 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-25 22:46:36 -0300 |
commit | 3f056b66647bafc39f060a57289320765915972c (patch) | |
tree | 5e8c6ba82fc3e5743f7f39e93fb241a9b1200282 /tools/perf/scripts/python | |
parent | a1a8bed32de197801bb861fbf13cd01496df3e05 (diff) |
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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions