OSDN Git Service

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)
commitb40d0156f560932d14e3957579b6508f8d065260
tree7e08cc13d45562e89acc22cdb1f0228ec21666cb
parent1c23f9e627a7b412978b4e852793c5e3c3efc555
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