Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8743760rwb; Thu, 24 Nov 2022 03:50:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf514eubqgYtVOcVmCCkQpzcXyPKiESWUKdjnpmTnsS34y9We2jOSpBr55uiDIzD/BgaIeYh X-Received: by 2002:a17:902:bb84:b0:184:e4db:e3e with SMTP id m4-20020a170902bb8400b00184e4db0e3emr17208797pls.47.1669290650675; Thu, 24 Nov 2022 03:50:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669290650; cv=none; d=google.com; s=arc-20160816; b=zrWNa3DuMU813xGQKbT6QLWqqVPuzM9kVwF62qAdDWZzX7y2fvBWQ2OifwVnv1SC/F 8uth2GOYwg6sOu5g8SJW5L0qultmsg14adDGZlru3H5vDqzwwaO4M2DnvOJnvZ69VWfB +/AHF03DQsD4EF3Rb6odpSLMCzIje6QTxctJRywB6XV88Vh8wYHDfln6g2Uis3cISv25 AmFEmCe/7PA/8EG5tNvdmpVaVi0cTafXqITlcfbElRUK9bCgDSoecXocWNNDpGq067/c +eCLbCc+1zzFSC0zZqSgnjvX4rw3pSnaUc8xZd9uyTI2ymQsxJ2lDQ+rYByzyq5p2NBP sKrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Y/ePjdWPHCTT73Y+uJsQGJotlRFfG5r21FyIlF73nLY=; b=n7IqvJ6xCXcQaofrlSCx5cfwFcLbly4NM9O3lc6hQG1flMHvsGHed6Ps1H1TfVl624 fIdDt+09skJKES8uU7oRAvBe8GUhpcZSPwlU9GHTmdyeeZg2Nn+bTWqLeXpp8yjEkTyq n+FCbTulfI8LTD/ckvZlEBcshBX2qTXj4fRqTbi3WO+tsisIDt2I96EM1tn+hN2wqPEc K4Ygu9taN6iqK39RZczMMnFdjtkE//Vmkl7DuWgHMiPSDFVQvTJ5U/c/mSvyC3akOo8v plipIsEbQ9r0aOv5jCUydCDVE2AgKeGMjIkjN6b5uRPMRPwZB0/TS+Rm0ub4FVWSRKD6 Z5KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s200-20020a632cd1000000b0042adcc66b1asi1245911pgs.22.2022.11.24.03.50.38; Thu, 24 Nov 2022 03:50:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbiKXLE2 (ORCPT + 86 others); 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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)