]> Git Repo - linux.git/commit
arm64: perf: Reject stand-alone CHAIN events for PMUv3
authorWill Deacon <[email protected]>
Fri, 5 Oct 2018 12:24:36 +0000 (13:24 +0100)
committerWill Deacon <[email protected]>
Fri, 12 Oct 2018 14:25:17 +0000 (15:25 +0100)
commitca2b497253ad01c80061a1f3ee9eb91b5d54a849
tree06b96eee97a7f40173136b35f8b3ff945ae5925f
parentd91680e687f47984ffd3200c8e5d587903e7bd11
arm64: perf: Reject stand-alone CHAIN events for PMUv3

It doesn't make sense for a perf event to be configured as a CHAIN event
in isolation, so extend the arm_pmu structure with a ->filter_match()
function to allow the backend PMU implementation to reject CHAIN events
early.

Cc: <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
arch/arm64/kernel/perf_event.c
drivers/perf/arm_pmu.c
include/linux/perf/arm_pmu.h
This page took 0.059701 seconds and 4 git commands to generate.