]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: perf: consistently use arm_pmu->name for PMU name
authorWill Deacon <will.deacon@arm.com>
Fri, 21 Sep 2012 13:23:47 +0000 (14:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 15 Oct 2012 12:58:07 +0000 (13:58 +0100)
commitd1b996a126b74efba0bf470ff33173347fcc0507
treeb733a87d75db7eae085a55c3f928a9b8dc28d17a
parent89f3d7ea1521ee0ccec5eefd26a9f0d159a664b7
ARM: perf: consistently use arm_pmu->name for PMU name

Perf has three ways to name a PMU: either by passing an explicit char *,
reading arm_pmu->name or accessing arm_pmu->pmu.name.

Just use arm_pmu->name consistently in the ARM backend.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/pmu.h
arch/arm/kernel/perf_event.c
arch/arm/kernel/perf_event_cpu.c