]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-cci: Remove unnecessary period adjustment
authorRobin Murphy <robin.murphy@arm.com>
Mon, 21 May 2018 11:17:09 +0000 (12:17 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 21 May 2018 17:06:11 +0000 (18:06 +0100)
commit8e65f410d4740b0099d4682b4697839ca2aacb3e
treed6a2b19bd964f4f2fd6ed61e91a45cb38de0a76c
parent5fe417dcfec7e2bf41cff0a2982f045b3b3cb05e
perf/arm-cci: Remove unnecessary period adjustment

Since sampling events are rejected up-front by cci_pmu_event_init(), it
doesn't make much sense to go fiddling with the sampling period later.
This would seem to be just another leftover artefact of the arm_pmu
framwork, and as such can go.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm-cci.c