Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4860814imw; Tue, 19 Jul 2022 14:58:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tsDXyz6BhaeuitvFkrAmWf7R3qQIM7xH78lsQbecEval6nYEzhDtCsg4k6VS1DuAi4CWUu X-Received: by 2002:a17:902:b944:b0:16c:c6e4:e44b with SMTP id h4-20020a170902b94400b0016cc6e4e44bmr25451113pls.117.1658267934017; Tue, 19 Jul 2022 14:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658267934; cv=none; d=google.com; s=arc-20160816; b=enYzM04+J9J2f6FihPgJmh6r2D3nTI6/8UY0pHi1mGv68g+zY07qsqh17M9Pwro9HM E6Zaag7uePBZAnBnRq4kjvnS2VhxzDMXXi5fxhO+67cfDWKLKONIhBITr1VUN4dovOxC 5wKioE9kUDScXFqXHCaX6mCYBrk+fjOnkmXDb0hbwEu+i8eBFFPYGxv2N7x6kj1hegUB B1XnifJnQyY4icq2X4r9b4/5VnJXz8sJHYp7XgD7IlVnFVrqRokCt1v4pXS/V1RyepBv 1DHitHuEBofIluewYbmd4Y1hABNRcRi5yfCiSsIwxgZv10NlWf0caUYK8KGG0NjJGvGr gRww== 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:subject:user-agent:mime-version:date:message-id; bh=qrM12KrtXpbibBcPDC/nCSfxm6MYjXQqoA23l6PvLvk=; b=BNXZvoqQ1373JQ1KHhEEPamHPnAlrgWlIK0Spvf2+xwBQPjimToEDhuVggrv9zrH/t KjBLrsbEMEqAyAlXyoptrqCjky1L/YRJVwMPFbGJQo5FePfBIHliMlS6ckRaIeR0ooGw x7XzyS8YnrDRYaV8V9R7axbglRh9Cyw1Z64WFae3VuUE8aYptjjLUV0LJ957iAOF4HLl w4yOpIupGTZtd2NN06H2Gg8BgZP7afDq2hsmVqlA6pHwVfQ4xWLeN6xbU4Ds1mti4t0M lLJgRBYM513uZHRtW+o3x2l+SYUbeiCyHQqQVgx/W1A9DnIKCXl71MskdjbI7/tMkD60 FCuA== 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 r4-20020a635d04000000b003fe34775ab6si20954458pgb.286.2022.07.19.14.58.40; Tue, 19 Jul 2022 14:58:54 -0700 (PDT) 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 S240563AbiGSVvF (ORCPT + 99 others); Tue, 19 Jul 2022 17:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240665AbiGSVut (ORCPT ); Tue, 19 Jul 2022 17:50:49 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D36D763907; Tue, 19 Jul 2022 14:50:47 -0700 (PDT) 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 B61061576; Tue, 19 Jul 2022 14:50:47 -0700 (PDT) Received: from [10.57.42.173] (unknown [10.57.42.173]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 84C9F3F70D; Tue, 19 Jul 2022 14:50:45 -0700 (PDT) Message-ID: Date: Tue, 19 Jul 2022 22:50:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 10/13] kernel: events: Export perf_report_aux_output_id() To: Mike Leach , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mathieu.poirier@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com References: <20220704081149.16797-1-mike.leach@linaro.org> <20220704081149.16797-11-mike.leach@linaro.org> From: Suzuki K Poulose In-Reply-To: <20220704081149.16797-11-mike.leach@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 On 04/07/2022 09:11, 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 > --- > kernel/events/core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/events/core.c b/kernel/events/core.c > index 80782cddb1da..f5835e5833cd 100644 > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -9117,6 +9117,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) Acked-by: Suzuki K Poulose