linux/drivers/perf
Mark Rutland a9e469d1c8 drivers/perf: arm_pmu: remove pointless PMU disabling
We currently disable the PMU temporarily in armpmu_add(). We may have
required this historically, but the perf core always disables an event's
PMU when calling event::pmu::add(), so this is not necessary.

We don't do similarly in armpmu_del(), or elsewhere, so this is
unnecessary and inconsistent, and only serves to confuse the reader.

Remove the pointless disable, simplifying armpmu_add() in the process.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-04-11 16:29:53 +01:00
..
arm_pmu.c drivers/perf: arm_pmu: remove pointless PMU disabling 2017-04-11 16:29:53 +01:00
Kconfig perf: qcom: Add L3 cache PMU driver 2017-04-03 18:53:50 +01:00
Makefile perf: qcom: Add L3 cache PMU driver 2017-04-03 18:53:50 +01:00
qcom_l2_pmu.c perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
qcom_l3_pmu.c perf: qcom: Add L3 cache PMU driver 2017-04-03 18:53:50 +01:00
xgene_pmu.c perf: xgene: Include module.h 2017-02-03 18:46:47 +00:00