summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cpufeatures.h
diff options
context:
space:
mode:
authorSandipan Das <sandipan.das@amd.com>2022-08-11 14:29:51 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-08-27 00:05:42 +0200
commit706460a96fc654e80b6bed1f562b00d2ce9f2f4d (patch)
tree8627cb45a62c0ffcf0706bae8fe26c891e94d99e /arch/x86/include/asm/cpufeatures.h
parentperf/x86/amd/core: Refactor branch attributes (diff)
downloadlinux-706460a96fc654e80b6bed1f562b00d2ce9f2f4d.tar.xz
linux-706460a96fc654e80b6bed1f562b00d2ce9f2f4d.zip
perf/x86/amd/core: Add generic branch record interfaces
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, introduce new static calls which act as gateways to call into the feature-dependent functions based on what is available on the processor. Signed-off-by: Sandipan Das <sandipan.das@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/b75dbc32663cb395f0d701167e952c6a6b0445a3.1660211399.git.sandipan.das@amd.com
Diffstat (limited to 'arch/x86/include/asm/cpufeatures.h')
0 files changed, 0 insertions, 0 deletions