diff options
author | Mike Leach <mike.leach@linaro.org> | 2023-01-16 12:49:24 +0000 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2023-01-19 10:16:47 +0000 |
commit | 7d30d480a6910b643aae8603a3905c9e22327e37 (patch) | |
tree | ee092d25a41635099e57ac723ed4acbd79a67038 /kernel/events | |
parent | 206bb3858949b6509de75f7d3697303a073cbaa1 (diff) | |
download | lwn-7d30d480a6910b643aae8603a3905c9e22327e37.tar.gz lwn-7d30d480a6910b643aae8603a3905c9e22327e37.zip |
kernel: events: Export perf_report_aux_output_id()
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
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index d56328e5080e..f7036ed53b3f 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -9399,6 +9399,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) |