tools/perf/Documentation/perf-stat.txt | 21 + tools/perf/builtin-stat.c | 2 + .../tests/shell/lib/perf_json_output_lint.py | 90 +++++ tools/perf/tests/shell/stat+json_output.sh | 141 +++++++ tools/perf/util/stat-display.c | 365 +++++++++++++----- tools/perf/util/stat.h | 1 + 6 files changed, 534 insertions(+), 86 deletions(-) create mode 100644 tools/perf/tests/shell/lib/perf_json_output_lint.py create mode 100755 tools/perf/tests/shell/stat+json_output.sh