Re: [PATCH 22/25] perf: Make EVENT_ATTR global

2013-02-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Sukadev Bhattiprolu > > Rename EVENT_ATTR() to PMU_EVENT_ATTR() and make it global so it is > available to all architectures. > > Further to allow architectures flexibility, have PMU_EVENT_ATTR() pass > in the variable name as a parameter. > >

Re: [PATCH 22/25] perf: Make EVENT_ATTR global

2013-02-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Rename EVENT_ATTR() to PMU_EVENT_ATTR() and make it global so it is available to all architectures. Further to allow architectures flexibility, have PMU_EVENT_ATTR() pass in the

[PATCH 22/25] perf: Make EVENT_ATTR global

2013-01-31 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu Rename EVENT_ATTR() to PMU_EVENT_ATTR() and make it global so it is available to all architectures. Further to allow architectures flexibility, have PMU_EVENT_ATTR() pass in the variable name as a parameter. Changelog[v2] - [Jiri Olsa] No need to define

[PATCH 22/25] perf: Make EVENT_ATTR global

2013-01-31 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Rename EVENT_ATTR() to PMU_EVENT_ATTR() and make it global so it is available to all architectures. Further to allow architectures flexibility, have PMU_EVENT_ATTR() pass in the variable name as a parameter. Changelog[v2] - [Jiri