[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y8Ah+djAEpSfIF5s@hirez.programming.kicks-ass.net>
Date: Thu, 12 Jan 2023 16:06:33 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Mike Leach <mike.leach@...aro.org>
Cc: coresight@...ts.linaro.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, mathieu.poirier@...aro.org,
suzuki.poulose@....com, mingo@...hat.com, acme@...nel.org,
linux-perf-users@...r.kernel.org, leo.yan@...aro.org,
quic_jinlmao@...cinc.com
Subject: Re: [PATCH v6 11/14] kernel: events: Export
perf_report_aux_output_id()
On Wed, Nov 23, 2022 at 07:50:07PM +0000, Mike Leach wrote:
> 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@...aro.org>
> Acked-by: Suzuki K Poulose <suzuki.poulose@....com>
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
> ---
> kernel/events/core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/events/core.c b/kernel/events/core.c
> index 4ec3717003d5..ad388552f1d5 100644
> --- a/kernel/events/core.c
> +++ b/kernel/events/core.c
> @@ -9231,6 +9231,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)
> --
> 2.17.1
>
Powered by blists - more mailing lists