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 23B94CFD2F6 for ; Tue, 2 Dec 2025 11:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D0aUiOPKMutQ7GCEwv7kvp6zcTNL8hexG8/SGPAr4yw=; b=JZbqglIa5nd44MDYMK5mVenqLo 5lxGwNhAugAFb1KH9NcUgXQiUw7u9V2qLy3PH4n+6uxrFatTBRoIsnMIcQRISxw+CVUCnJ8JGej4R 28ixWYHN4CcAUByKHd1TiR1U9YAHuJdY9kMcZK4gcJNf0PhdLiy4a5WA1TseHpUMInuLgldNAf9wT U38p1IgaPuuPu8I14X1OdQOX+br/835G7L3mAkTgO2bq4yUPl3KnhlbvAI7FdvFe74SOnhpOIrEN8 AzyIvtRi5+2WcOjVWW6ysvygy+1l3O0OkwMGkyzhwFd0hJqItgOgUOViG81yMH1ezfSaw/Pi3XdE+ +vFC6C/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vQOUr-00000005Jab-1ZS8; Tue, 02 Dec 2025 11:24:41 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vQOUo-00000005JaG-2vxi for linux-arm-kernel@lists.infradead.org; Tue, 02 Dec 2025 11:24:39 +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 22883153B; Tue, 2 Dec 2025 03:24:28 -0800 (PST) Received: from localhost (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1C4B53F59E; Tue, 2 Dec 2025 03:24:34 -0800 (PST) Date: Tue, 2 Dec 2025 11:24:33 +0000 From: Leo Yan To: James Clark Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Suzuki K Poulose , Mike Leach , John Garry , Will Deacon , Leo Yan , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/7] perf cs-etm: Make a helper to find the Coresight evsel Message-ID: <20251202112433.GU724103@e132581.arm.com> References: <20251201-james-perf-config-bits-v1-0-22ecbbf8007c@linaro.org> <20251201-james-perf-config-bits-v1-3-22ecbbf8007c@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251201-james-perf-config-bits-v1-3-22ecbbf8007c@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251202_032438_784768_D3F1AE6E X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Dec 01, 2025 at 04:41:06PM +0000, Coresight ML wrote: > This pattern occurs a few times and we'll add another one later, so add > a helper function for it. > > Signed-off-by: James Clark Reviewed-by: Leo Yan