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 8FCDFC61DB3 for ; Thu, 12 Jan 2023 15:07:48 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2jq50wA9Q8Xk1YaCe+D9+1xzSCC+eOlIiHJy6iSjIFE=; b=Itj7OeqxXnkjxA w7ui9bGUdyPiDL4RxmSukx7+nzAz1rXVe8dNsQ4y1PXWdVqYQKshFp59o3dbGLfGMxIy+10yHVF4k 2XIeFPyr+c03FpIr8Mqql2YMZDkRecX6AzGHYJJmB76og/9aSPozXKKUL6HAOH+FYP4f03HL7EO7S vxc8SvDl7Zq4exTTzaUep+42yW9xo/mjY1j+r9sT2HzXtCcZgIlfotXvA6O28FeqDCEgKIq56xgs2 60ix0591wf24cjTvSG8ak3dmH6LXGsNWUkDFtNZRqfdLu/GHQYqTwi5+dg0tbhvxIZIZNAXiJ8TMp FxzAqlsab2lUoDV1DFuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFzA8-00FWiN-V8; Thu, 12 Jan 2023 15:06:41 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFzA6-00FWi1-Vs for linux-arm-kernel@bombadil.infradead.org; Thu, 12 Jan 2023 15:06:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MC/NVyEC+LEfhcig7OxVywPKp5aS+P3s0NbcBgzZCAk=; b=aNCu7F2YwBL/HEzz4B15O41UW+ 2KiaggPnSe6QcACfAlzDtIKdmMHDnOW27eQ7TS/uDDlMS9Wpo3tYiyEnNRszL1tLu0RUnbxEXKXNe QmIy27GybnFFY3twkx/BwwFILXNhar9gX1gOi6WdxjEYstkKO7ABBVUaFMwcHNk7b+07drk8Wu67S pCVmTEzFeBR/Uba5Uoy6ocPYy6qYUOKzNK8USwFxkE81CxA69KFHcKzesUz2ujT3B9vRw9NBEKUsT zauaLowom3qpGhulX8lgt3voxpq9aAqbPnM3FkXMhybL750pOH33mBo17yiPP8zRyyy3K7cd5y3GQ gFwsecuA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFzAF-00591M-3r; Thu, 12 Jan 2023 15:06:47 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5BEFB30084B; Thu, 12 Jan 2023 16:06:33 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1535F2CCCCB1B; Thu, 12 Jan 2023 16:06:33 +0100 (CET) Date: Thu, 12 Jan 2023 16:06:33 +0100 From: Peter Zijlstra To: Mike Leach Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, suzuki.poulose@arm.com, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com Subject: Re: [PATCH v6 11/14] kernel: events: Export perf_report_aux_output_id() Message-ID: References: <20221123195010.6859-1-mike.leach@linaro.org> <20221123195010.6859-12-mike.leach@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221123195010.6859-12-mike.leach@linaro.org> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > Acked-by: Suzuki K Poulose Acked-by: Peter Zijlstra (Intel) > --- > 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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 D3318C54EBD for ; Thu, 12 Jan 2023 15:16:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjALPQE (ORCPT ); Thu, 12 Jan 2023 10:16:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbjALPPR (ORCPT ); Thu, 12 Jan 2023 10:15:17 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FC0C1CFF7; Thu, 12 Jan 2023 07:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MC/NVyEC+LEfhcig7OxVywPKp5aS+P3s0NbcBgzZCAk=; b=aNCu7F2YwBL/HEzz4B15O41UW+ 2KiaggPnSe6QcACfAlzDtIKdmMHDnOW27eQ7TS/uDDlMS9Wpo3tYiyEnNRszL1tLu0RUnbxEXKXNe QmIy27GybnFFY3twkx/BwwFILXNhar9gX1gOi6WdxjEYstkKO7ABBVUaFMwcHNk7b+07drk8Wu67S pCVmTEzFeBR/Uba5Uoy6ocPYy6qYUOKzNK8USwFxkE81CxA69KFHcKzesUz2ujT3B9vRw9NBEKUsT zauaLowom3qpGhulX8lgt3voxpq9aAqbPnM3FkXMhybL750pOH33mBo17yiPP8zRyyy3K7cd5y3GQ gFwsecuA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFzAF-00591M-3r; Thu, 12 Jan 2023 15:06:47 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5BEFB30084B; Thu, 12 Jan 2023 16:06:33 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1535F2CCCCB1B; Thu, 12 Jan 2023 16:06:33 +0100 (CET) Date: Thu, 12 Jan 2023 16:06:33 +0100 From: Peter Zijlstra To: Mike Leach Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, suzuki.poulose@arm.com, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com Subject: Re: [PATCH v6 11/14] kernel: events: Export perf_report_aux_output_id() Message-ID: References: <20221123195010.6859-1-mike.leach@linaro.org> <20221123195010.6859-12-mike.leach@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221123195010.6859-12-mike.leach@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Acked-by: Suzuki K Poulose Acked-by: Peter Zijlstra (Intel) > --- > 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 >