From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98633C433FE for ; Thu, 24 Nov 2022 11:04:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiKXLE2 (ORCPT ); Thu, 24 Nov 2022 06:04:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbiKXLEZ (ORCPT ); Thu, 24 Nov 2022 06:04:25 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF2735C0F3; Thu, 24 Nov 2022 03:04:23 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 41D2723A; Thu, 24 Nov 2022 03:04:30 -0800 (PST) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3FD713F587; Thu, 24 Nov 2022 03:04:22 -0800 (PST) Message-ID: Date: Thu, 24 Nov 2022 11:04:20 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v6 11/14] kernel: events: Export perf_report_aux_output_id() Content-Language: en-US To: Mike Leach , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Zijlstra Cc: mathieu.poirier@linaro.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com References: <20221123195010.6859-1-mike.leach@linaro.org> <20221123195010.6859-12-mike.leach@linaro.org> From: Suzuki Kuruppassery Poulose In-Reply-To: <20221123195010.6859-12-mike.leach@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter On 23/11/2022 19:50, 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 > Acked-by: Suzuki K Poulose > --- > 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); > Are you happy with me picking up this change through the coresight tree ? Suzuki > static int > __perf_event_account_interrupt(struct perf_event *event, int throttle) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E986C43219 for ; Thu, 24 Nov 2022 11:05:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=80JtH9G7DHn86hAn6cOu/XtUr/RI/LSGbSBhjCItDdc=; b=pcvyn0lIR3Iatz WzfDjAB9tMNYD4Nw271xa3KLyvf6yhadnjiOKYX3rOUViCcCRhaJXo7s3kXD0G7A6khJudtOapaOs 3xi2qOfefXV7hbpvMNVyZfSZvtsPx4Ou0SKWOyttQttlLMyqd9D1vXLC+KE+fHzJqY8vYj42TAWRM I/RJuNiTvUPyA/4nbrB1z1WQyya+SRSe7KdgUu4/CbqajhLVaVTUzi30w4FcP1j6BHAIVX1CkXQFd 3M+uCtN9yKQn40Mhl0TD5DFU3/yvO5n633dIVrQoCWHMQ0idh2YEX0t4wXjj0pAlSOLfx9Fhry5tL Q5CrOxjwvU2ChudP2oCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyA1y-007tYX-7q; Thu, 24 Nov 2022 11:04:34 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyA1s-007tRV-2J for linux-arm-kernel@lists.infradead.org; Thu, 24 Nov 2022 11:04:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 41D2723A; Thu, 24 Nov 2022 03:04:30 -0800 (PST) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3FD713F587; Thu, 24 Nov 2022 03:04:22 -0800 (PST) Message-ID: Date: Thu, 24 Nov 2022 11:04:20 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v6 11/14] kernel: events: Export perf_report_aux_output_id() Content-Language: en-US To: Mike Leach , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Zijlstra Cc: mathieu.poirier@linaro.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com References: <20221123195010.6859-1-mike.leach@linaro.org> <20221123195010.6859-12-mike.leach@linaro.org> From: Suzuki Kuruppassery Poulose In-Reply-To: <20221123195010.6859-12-mike.leach@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221124_030428_185544_7A4C5923 X-CRM114-Status: GOOD ( 13.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Peter On 23/11/2022 19:50, 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 > Acked-by: Suzuki K Poulose > --- > 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); > Are you happy with me picking up this change through the coresight tree ? Suzuki > static int > __perf_event_account_interrupt(struct perf_event *event, int throttle) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel