[PATCHSET,0/9] perf stat: Cleanup perf stat output display (v1)

Message ID 20221107213314.3239159-1-namhyung@kernel.org
Headers
Series perf stat: Cleanup perf stat output display (v1) |

Message

Namhyung Kim Nov. 7, 2022, 9:33 p.m. UTC
  Hello,

I'm working on cleaning up the perf stat code and found a number of issues.
Before moving on to the real changes, I'd like to fix those first.  I'll
think about how to test this properly.

You can get it from 'perf/stat-cleanup-v1' branch in

  git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (9):
  perf stat: Fix crash with --per-node --metric-only in CSV mode
  perf stat: Increase metric length to align outputs
  perf stat: Clear screen only if output file is a tty
  perf stat: Move common code in print_metric_headers()
  perf stat: Fix --metric-only --json output
  perf stat: Do not indent headers for JSON
  perf stat: Add header for interval in JSON output
  perf stat: Fix condition in print_interval()
  perf stat: Consolidate condition to print metrics

 tools/perf/util/stat-display.c | 55 ++++++++++++++--------------------
 1 file changed, 23 insertions(+), 32 deletions(-)


base-commit: 96e6d929a6c3368ad6327a52f870294747888c77