Re: [perfmon2] [PATCH] Ensure unique names for IBM Power 9 events

2017-12-04 Thread Stephane Eranian via perfmon2-devel
Will, There is something I am missing here. You are creating _ALT version of events with the same event code. What's the point of that? There should not be duplicate event names in any event tables. The validation checks verify this. On PPC, I understand that the event code is manually crafted and

[perfmon2] [PATCH] Ensure unique names for IBM Power 9 events

2017-12-04 Thread William Cohen
Older versions of PAPI use the event name to look up the libpfm event number when doing the enumeration of the available events. If there were multiple events with the same name in libpfm, the earliest one would be selected. This selection would cause the enumeration of events in papi_native_avai