diff options
author | Will Deacon <will.deacon@arm.com> | 2012-09-21 14:23:47 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2012-11-09 11:37:26 +0000 |
commit | 0305230a3d92d6829db89c9e0c096d4d8733f317 (patch) | |
tree | 30720e24df940feccf3e8fc03ddfb65d08751f83 /arch/arm/include/asm/pmu.h | |
parent | 288700d16d4c1479aa00e3db13caed8bb7c83e9f (diff) | |
download | blackbird-op-linux-0305230a3d92d6829db89c9e0c096d4d8733f317.tar.gz blackbird-op-linux-0305230a3d92d6829db89c9e0c096d4d8733f317.zip |
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>
Diffstat (limited to 'arch/arm/include/asm/pmu.h')
-rw-r--r-- | arch/arm/include/asm/pmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/pmu.h b/arch/arm/include/asm/pmu.h index a209a384dbc9..f24edad26c70 100644 --- a/arch/arm/include/asm/pmu.h +++ b/arch/arm/include/asm/pmu.h @@ -93,7 +93,7 @@ struct arm_pmu { extern const struct dev_pm_ops armpmu_dev_pm_ops; -int armpmu_register(struct arm_pmu *armpmu, char *name, int type); +int armpmu_register(struct arm_pmu *armpmu, int type); u64 armpmu_event_update(struct perf_event *event); |