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

Andi Kleen
2021-08-17T19:57:03Z

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

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