summaryrefslogtreecommitdiff
path: root/drivers/perf
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2020-02-21 19:35:31 +0000
committerWill Deacon <will@kernel.org>2020-03-02 11:54:06 +0000
commite424b17985262359181cce1553a1ea2cdf263941 (patch)
tree0f99b332fd427ab8f8a84cace0289414476a814b /drivers/perf
parentaaa19727159ef5616219a4b9dad7a84e693aebf5 (diff)
downloadlwn-e424b17985262359181cce1553a1ea2cdf263941.tar.gz
lwn-e424b17985262359181cce1553a1ea2cdf263941.zip
arm64: perf: Refactor PMU init callbacks
The PMU init callbacks are already drowning in boilerplate, so before doubling the number of supported PMU models, give it a sensible refactor to significantly reduce the bloat, both in source and object code. Although nobody uses non-default sysfs attributes today, there's minimal impact to preserving the notion that maybe, some day, somebody might, so we may as well keep up appearances. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions