Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1185659lqm; Thu, 2 May 2024 07:36:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlk1cL8HgMHcmgCYKh7silQniGjQ3tYF64KBjjA2rr3f0F66WCa3kt3geKuvWqBadO0wURR6GsjGZBalgNP7j5J7XhAnrAIMyNrHyr4A== X-Google-Smtp-Source: AGHT+IHr1KzYtDwUXpMjFtiEZobBSNJZb/LpBh3PqreZdaJwANOCjdhlug649ICrKEdT7WTlhMeG X-Received: by 2002:a05:620a:12c6:b0:792:643e:ee7b with SMTP id e6-20020a05620a12c600b00792643eee7bmr5608341qkl.49.1714660563786; Thu, 02 May 2024 07:36:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714660563; cv=pass; d=google.com; s=arc-20160816; b=G2IPX7dciHvmpzcEk/8/G3c90SBY8UHQaOys0RdDYVnEDLiBfWOuNiMi2MSBDs+1rI 5UkVU8Rzg7OF+oCkDa/YstoPAj92KbwFhrKds6zc1lVJjr2cdaZZv3wpSsPAf016CUm+ VGuHdSxfPujIejeGqb+OJ1xTpsHh67WtLwJf7fXYWMtFyqok156GbLVqYfAJ2nMTzN5v HBMpTGKsLjb9Opgiia3pggU4yhPEI07ECPCQ+0nwtWn80pdjAXzT/B9Yrq76e0b+DcBR ASGQEewb81bx8Z/wItg1CD7ThmMpXYRe0TfqHNC2m/dzgVV2UuMtr1bHi8cfxbCDv9I/ EadQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BqTGM3oE0soS8+ZNbM8DKTniCvcKscQTgIHXJ8mytK4=; fh=X2oJ3D7Z3E+htfsm1lC12XwuIPClypLIKUfOW4rExmE=; b=FSQeSbZZYiTUKJnOybsdnGSv0W/My/5R1sQ1U92FAexJmMWw/ob25xEGLObHoH6kLY tjO5SiIBIMmmWcb1fJ3T8jonEw9d1aM6L+ztzs9ZLMLTu3sYJ9i4KdHKu769nX+1i3bq qxCgTdbyiAq+ODXEt4Au5NWiCxNU1bd6Fj7Bd9t/tiWKNGtRK02YlrxcDDThOYt/uckr P0DUHA56tUUIn6C30PaH4T7eTxod0TPzuXNJPUIbsKs9Ffktsd5RMoxRVQnI6SAy9cx4 B1um6dqU/4H2KykdiUigYpNR75Ip1DiaRC8rvkxExwm3YJe+QhYzvrUqUV4FqrgKCutP FOzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rAIBRS9g; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dt8-20020a05620a478800b0078d5b3beb3dsi986522qkb.671.2024.05.02.07.36.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 07:36:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rAIBRS9g; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6D8201C21B7A for ; Thu, 2 May 2024 14:36:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48156153515; Thu, 2 May 2024 14:35:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rAIBRS9g" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 702C9153587; Thu, 2 May 2024 14:35:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714660538; cv=none; b=Sg4H8t/iR3q/3eqiygcd3O3zIRuG+i3ogVGu8AJ1eKH3eTsjPssASoW5fhLEJ3/2bNHHUiEdlOT9QgBT0thGkXcTVaY7qCOpvk8BnVdJKAngDTqhxKlSyfSOW5FQFHHJgCUx907e9jK6BmsVlJwTtgaSXdQLGoHoh9Ql8xA87Z4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714660538; c=relaxed/simple; bh=sMBrADE2JhJ9VMLmjn6LuipV096YR1K8BaZa4eR/Ixo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cM0/ere2IA/iMr40b/u7oi0GX3iDlRsBifFhkcBejiV6XNpv7m7ViKezIHBSQzvSE5r3wpAEik/dqYp8VLsR7I35ln2P86bl8NomVccE4Vtlc+rn9O8xMKsi0kqxpcp53jkwOyZx3KfCyeW4NmCBdwVf6QCl8vgXDbeuPmhWgA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rAIBRS9g; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36A6BC32789; Thu, 2 May 2024 14:35:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714660538; bh=sMBrADE2JhJ9VMLmjn6LuipV096YR1K8BaZa4eR/Ixo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rAIBRS9gHglqAT+OihBqCDSlaDcFZnWoDSUUvAORPeblpWZHx1MEETR5IoOxSMFnf tqUNQvFkO2GXRPoMQHNN9vVJhFE0pr7sccx8R6LH0JtJ95+Qp5ECtZzStnnHxSrMt9 xs5WyftoiwJkAZOGs4rrAPj+ib8z20/KMLWBBnlxN5t4BT8vkDgeLoVb9SGraSCyvh xkOw0/Ed51wD5F9SXQcncJrLzqcuf3PecnfsUf4TRFRFO/DtG0JNAsHyVSLTcwhtpg MkHLa/FvY8OLgJJR5S3lakkAaxiJ5otVrG1vWJTk0ues5kKEF/GCac8Orj5Km78JIU WjWqwRncBYJig== Date: Thu, 2 May 2024 11:35:33 -0300 From: Arnaldo Carvalho de Melo To: James Clark Cc: linux-perf-users@vger.kernel.org, coresight@lists.linaro.org, leo.yan@linux.dev, irogers@google.com, Suzuki K Poulose , Mike Leach , John Garry , Will Deacon , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , "Liang, Kan" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/3] perf cs-etm: Improve version detection and error reporting Message-ID: References: <20240501135753.508022-1-james.clark@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240501135753.508022-1-james.clark@arm.com> On Wed, May 01, 2024 at 02:57:50PM +0100, James Clark wrote: > Changes since v1: > * Add a commit to use struct perf_cpu in place of some of the ints > * Add a commit to remove repeated fetches of the ETM PMU Thanks, applied to perf-tools-next locally, going thru tests. - Arnaldo > James Clark (3): > perf cs-etm: Use struct perf_cpu as much as possible > perf cs-etm: Remove repeated fetches of the ETM PMU > perf cs-etm: Improve version detection and error reporting > > tools/perf/arch/arm/util/cs-etm.c | 287 +++++++++++++++--------------- > 1 file changed, 139 insertions(+), 148 deletions(-) > > -- > 2.34.1