Re: [PATCH v2 1/1] perf stat: Add JSON output option.

From: Andi Kleen
Date: Tue Aug 17 2021 - 15:57:03 EST


> CSV:
> https://lore.kernel.org/lkml/20210813220936.2105426-1-cjense@xxxxxxxxxx/
>
> json:
> https://lore.kernel.org/lkml/20210813220936.2105426-1-cjense@xxxxxxxxxx/

How about --metric-only?

That's another completely different output mode.

Yes agreed a refactor would be useful, but it's a longer term project.

BTW we have similar problems with perf report and perf script output,
but stat is probably the worst.

-Andi