]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/amd/brs: Move feature-specific functions
authorSandipan Das <sandipan.das@amd.com>
Thu, 11 Aug 2022 12:29:49 +0000 (17:59 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 26 Aug 2022 22:05:41 +0000 (00:05 +0200)
commit1366298c4ca823a187f73eaf28582e8e364ff4a6
tree7e08cc13d45562e89acc22cdb1f0228ec21666cb
parentab10ff5e8831a0b67cd316b656c1de8c860c2d7c
perf/x86/amd/brs: Move feature-specific functions

Move some of the Branch Sampling (BRS) specific functions out of the Core
events sources and into the BRS sources in preparation for adding other
mechanisms to record branches.

Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/b60283b57179475d18ee242d117c335c16733693.1660211399.git.sandipan.das@amd.com
arch/x86/events/amd/brs.c
arch/x86/events/amd/core.c
arch/x86/events/perf_event.h