[RFC PATCH 2/5] perf jevents: add support for arch recommended events
John Garry
john.garry at huawei.com
Wed Dec 6 00:34:59 PST 2017
On 05/12/2017 17:27, Andi Kleen wrote:
> On Wed, Dec 06, 2017 at 12:13:16AM +0800, John Garry wrote:
>> For some architectures (like arm64), there are architecture-
>> defined recommended events. Vendors may not be obliged to
>> follow the recommendation and may implement their own pmu
>> event for a specific event cod
>
> I would just duplicate the architected events into the different
> vendor files. Then you wouldn't need all this mess.
>
This is what we were originally doing:
https://patchwork.kernel.org/patch/10010859/
But then we thought that we could avoid duplicating all these events for
every platform from every vendor. Most, if not all, vendors will
implement the events as recommended for any platform, so much
unnecessary duplication.
cheers,
John
> -Andi
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
> .
>
More information about the linux-arm-kernel
mailing list