[PATCH 2/7] perf: New helper function for pmu name

Paul Mundt lethal at linux-sh.org
Mon Oct 11 11:31:39 EDT 2010


On Sat, Oct 09, 2010 at 01:46:17AM +0100, Matt Fleming wrote:
> Introduce perf_pmu_name() helper function that returns the name of the
> pmu. This gives us a generic way to get the name of a pmu regardless of
> how an architecture identifies it internally.
> 
> Signed-off-by: Matt Fleming <matt at console-pimps.org>
> ---
>  arch/sh/kernel/perf_event.c |    9 +++++++++
>  include/linux/perf_event.h  |    1 +
>  kernel/perf_event.c         |    5 +++++
>  3 files changed, 15 insertions(+), 0 deletions(-)
> 
This part is obviously fine with me, too.

Acked-by: Paul Mundt <lethal at linux-sh.org>



More information about the linux-arm-kernel mailing list