Re: [RFC PATCH 2/5] perf jevents: add support for arch recommended events

From: Andi Kleen
Date: Tue Dec 05 2017 - 12:27:53 EST


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.

-Andi