aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2021-06-08 12:55:12 +0100
committerWill Deacon <will@kernel.org>2021-06-11 11:15:30 +0100
commit4c1daba15c209b99d192f147fea3dade30f72ed2 (patch)
tree410aa0c1d4a511b5baab0545fa80493d04f06851 /include/linux/perf_event.h
parentperf/hisi: Constify static attribute_group structs (diff)
downloadlinux-dev-4c1daba15c209b99d192f147fea3dade30f72ed2.tar.xz
linux-dev-4c1daba15c209b99d192f147fea3dade30f72ed2.zip
perf/smmuv3: Don't trample existing events with global filter
With global filtering, we only allow an event to be scheduled if its filter settings exactly match those of any existing events, therefore it is pointless to reapply the filter in that case. Much worse, though, is that in doing that we trample the event type of counter 0 if it's already active, and never touch the appropriate PMEVTYPERn so the new event is likely not counting the right thing either. Don't do that. CC: stable@vger.kernel.org Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/32c80c0e46237f49ad8da0c9f8864e13c4a803aa.1623153312.git.robin.murphy@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/perf_event.h')
0 files changed, 0 insertions, 0 deletions