From: Mike Leach mike.leach@linaro.org
mainline inclusion from mainline-v6.3-rc1 commit 7d30d480a691 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I85PIL CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i...
----------------------------------------------------------------------
CoreSight trace being updated to use the perf_report_aux_output_id() in a similar way to intel-pt.
This function in needs export visibility to allow it to be called from kernel loadable modules, which CoreSight may configured to be built as.
Signed-off-by: Mike Leach mike.leach@linaro.org Acked-by: Suzuki K Poulose suzuki.poulose@arm.com Acked-by: Peter Zijlstra (Intel) peterz@infradead.org Signed-off-by: Suzuki K Poulose suzuki.poulose@arm.com Link: https://lore.kernel.org/r/20230116124928.5440-12-mike.leach@linaro.org Signed-off-by: xiabing xiabing12@h-partners.com --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/kernel/events/core.c b/kernel/events/core.c index 93f20fb789df..061c1aaae901 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -8896,6 +8896,7 @@ void perf_report_aux_output_id(struct perf_event *event, u64 hw_id)
perf_output_end(&handle); } +EXPORT_SYMBOL_GPL(perf_report_aux_output_id);
static int __perf_event_account_interrupt(struct perf_event *event, int throttle)