[PATCH 1/9][v5] powerpc/perf: Rename Power8 macros to start with PME

Michael Ellerman michael at ellerman.id.au
Thu Oct 3 14:02:20 EST 2013


On Tue, Oct 01, 2013 at 05:15:02PM -0700, Sukadev Bhattiprolu wrote:
> We use helpers like GENERIC_EVENT_ATTR() to list the generic events in
> sysfs. To avoid name collisions, GENERIC_EVENT_ATTR() requires the perf
> event macros to start with PME.

It's a bit unfortunate, because they no longer match the documentation,
or any of the comments. Are we seeing actual name collisions with PM_,
or is it just a theoretical worry?

cheers


More information about the Linuxppc-dev mailing list