aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorSandipan Das <sandipan.das@amd.com>2022-08-11 17:59:50 +0530
committerPeter Zijlstra <peterz@infradead.org>2022-08-27 00:05:42 +0200
commit9603aa79e851c652f6da873205c92213af36b24f (patch)
treec4c6c782322529eb17ebf3a2b4f1ebc78e1f37e6 /arch/x86/kernel
parentperf/x86/amd/brs: Move feature-specific functions (diff)
downloadlinux-dev-9603aa79e851c652f6da873205c92213af36b24f.tar.xz
linux-dev-9603aa79e851c652f6da873205c92213af36b24f.zip
perf/x86/amd/core: Refactor branch attributes
AMD processors that are capable of recording branches support either Branch Sampling (BRS) or Last Branch Record (LBR). In preparation for adding Last Branch Record Extension Version 2 (LbrExtV2) support, reuse the "branches" capability to advertise information about both BRS and LBR but make the "branch-brs" event exclusive to Family 19h processors that support BRS. Signed-off-by: Sandipan Das <sandipan.das@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/ba4a4cde6db79b1c65c49834027bbdb8a915546b.1660211399.git.sandipan.das@amd.com
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions