diff options
author | Robin Murphy <robin.murphy@arm.com> | 2021-12-14 14:16:14 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-12-14 18:05:11 +0000 |
commit | 6ac9f30bd43baf9e05696e9a614fcd7e83c74afa (patch) | |
tree | 0462877093d840a254ec53ebff4d67c949a3254a /include/linux/fpga/fpga-mgr.h | |
parent | d4c4844a9b47dc1c7e8ccce0cdd899602f5479fd (diff) |
arm64: perf: Simplify registration boilerplate
With the trend for per-core events moving to userspace JSON, registering
names for PMUv3 implementations is increasingly a pure boilerplate
exercise. Let's wrap things a step further so we can generate the basic
PMUv3 init function with a macro invocation, and reduce further new
addition to just 2 lines each.
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/b79477ea3b97f685d00511d4ecd2f686184dca34.1639490264.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions