Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8134657rwb; Tue, 13 Dec 2022 02:39:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf7dBXRSPHuOG8Ecc5IpZL2wnmtAaQz9KV6J/3ddPcmi9S9SpcASaYTyi3ibvBywebkkyr2e X-Received: by 2002:a17:906:698f:b0:7ad:d250:b903 with SMTP id i15-20020a170906698f00b007add250b903mr15702454ejr.56.1670927949101; Tue, 13 Dec 2022 02:39:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670927949; cv=none; d=google.com; s=arc-20160816; b=ojOF/cNLX19S/ZD0CkseiYMGTJw0VPZ6zfzkflFAE3VAweKmqZYzWZ9yViadz0dBNM BvM4KHVlA/hgfm+cfuy63XYF2s0UdVV+/cM/yUtlzDfRWi8Yclex2nENEidDdMMUVKDp Rtoru/CzhGFjPqQviT/kqwNtIKC6iLyCnR9TYegOmLzCQ0abVVUoFI3/Nb0GrNnfOuE3 G3q6S4BhFurliqnN6/gzN6gz3vqWfKP7jBt68WIqKyzUHGYWAUy3E/X1ouDcSoCqEhEp RIg2dlCCHGTuP3CZ8wDSB4u7i7nwoQH77Hb25OO4otUNm4vDCMZP9jdJRfT6UGRY7faD ZrPA== 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:references :cc:to:from:subject:user-agent:mime-version:date:message-id; bh=W6Gtplj49WQyXs+B07c2CcK0C94wt8uOa0bEbdGp2ZU=; b=DSqiZZu6AxlQWe2aor+8vZ0i8Op0ST72dY2IJWDWaafhK0yApt0MaC/XVrbdQl9ykE VKH/fRAoJEHOFmZx/Gb/bTKU/C0Xq3M6xTSiz3UxQavbHqN60/7JZ5F/iyYXyoxgbBnr TuDJ8VRvmg0SrVfKTgIPcbebEk5DjtFcB623q20rCXLXdj6OxmROaiQ0iu8gH//nyILs fH3HsmFa7CPnjwsVpA/1PWoZdlbKRn2plSfwdB52XGhpzJJamY3e872FSW/eMyiZyd17 H4o0iSiojXlKljW5D7i8Pi/XDfgXwV3IOHkkaT1B4UFsvmt1uWBqZwkO43/KKP7jTHGb SYXQ== 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 hw19-20020a170907a0d300b007c0bc66e526si6770720ejc.622.2022.12.13.02.38.51; Tue, 13 Dec 2022 02:39:09 -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 S235081AbiLMKIR (ORCPT + 73 others); Tue, 13 Dec 2022 05:08:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234753AbiLMKIN (ORCPT ); Tue, 13 Dec 2022 05:08:13 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3612BDEF; Tue, 13 Dec 2022 02:08:13 -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 3CE542F4; Tue, 13 Dec 2022 02:08:53 -0800 (PST) Received: from [10.57.41.22] (unknown [10.57.41.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E64A73F5A1; Tue, 13 Dec 2022 02:08:10 -0800 (PST) Message-ID: <9ea2a0d8-b025-bb56-3a04-1a88e340da2d@arm.com> Date: Tue, 13 Dec 2022 10:08:08 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v6 11/14] kernel: events: Export perf_report_aux_output_id() From: Suzuki K Poulose To: 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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, Mike Leach References: <20221123195010.6859-1-mike.leach@linaro.org> <20221123195010.6859-12-mike.leach@linaro.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 24/11/2022 11:04, Suzuki Kuruppassery Poulose wrote: > 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 > Please could you let me know your thoughts on this ? Coresight PMU would use this to inform the dynamically allocated trace id for a CPU to the perf via this HWID packet. If you are happy with the above change, I could pick it up via the coresight tree with your Ack. Otherwise, please could you pick it up ? Suzuki