Re: [PATCH 04/27] perf list: Add support for listing only json events

From: Andi Kleen
Date: Mon Oct 17 2016 - 09:58:08 EST


> What we do know about the CPU vendor event names is that they are vendor specific,
> and that's a pretty stable property. So my suggestion would be to simply make it:
>
> perf list vendor
>
> with perhaps add aliases as well:
>
> perf list model
> perf list cpu-model
>
> ... and 'perf list hardware' should probably also list all the vendor specific
> hardware events as well.

Sure can change it.

>
> Could we please work a bit more on making vendor specific hardware event handling
> more usable to people who don't care about internals?

Do you prefer fully new patches, or are incremential patches ok?

-Andi