]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/amd: Make Zen3 branch sampling opt-in
authorStephane Eranian <eranian@google.com>
Tue, 22 Mar 2022 22:15:11 +0000 (15:15 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Apr 2022 08:24:38 +0000 (10:24 +0200)
commitae27a96b31f52796a11058f1c79e23f89947b711
tree12c7c8e3d54956226acad111dbe0b5fa871f8816
parent55b6efe49717cc43c537e195fa484a59d9d9ee6c
perf/x86/amd: Make Zen3 branch sampling opt-in

Add a kernel config option CONFIG_PERF_EVENTS_AMD_BRS
to make the support for AMD Zen3 Branch Sampling (BRS) an opt-in
compile time option.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220322221517.2510440-8-eranian@google.com
arch/x86/events/Kconfig
arch/x86/events/amd/Makefile
arch/x86/events/perf_event.h