Skip to content
Commit 419ac18d authored by Sandipan Das's avatar Sandipan Das Committed by Greg Kroah-Hartman
Browse files

perf/x86: Move branch classifier



[ Upstream commit 4462fbfe ]

Commit 3e702ff6 ("perf/x86: Add LBR software filter support for Intel
CPUs") introduces a software branch filter which complements the hardware
branch filter and adds an x86 branch classifier.

Move the branch classifier to arch/x86/events/ so that it can be utilized
by other vendors for branch record filtering.

Signed-off-by: default avatarSandipan Das <sandipan.das@amd.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/bae5b95470d6bd49f40954bd379f414f5afcb965.1660211399.git.sandipan.das@amd.com


Stable-dep-of: e5389977 ("perf/x86/lbr: Filter vsyscall addresses")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 030099bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment