Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1132074lqo; Sat, 11 May 2024 08:38:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOf4IwNHgWEqokeXvN8zR+CScgt/etee722cbQfgHMoFIAiuTwJ6c8fWDqgeoxwDKZycBpj6mvg7YN0uEccfSSftLFeu7knPPIn/VT6w== X-Google-Smtp-Source: AGHT+IEurpPTA5dKi4LcfUPdcgj6VkFCTwxBQvmweIqk3Z+lBnt8lLDBPPQC5hvxi/BgO1XBLt/t X-Received: by 2002:a05:6512:312b:b0:51e:eda4:b40d with SMTP id 2adb3069b0e04-5220fb745b8mr3110819e87.19.1715441907399; Sat, 11 May 2024 08:38:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715441907; cv=pass; d=google.com; s=arc-20160816; b=FmcKY3JYCLuyzfNRYYl0B990reeJ/6olm6nr2VAfyB18tBAVpnjnA9coV6YTLG5KUn 9lz4kIkV/xEimYrQNX71HtGHh0x3GXB1idw4UqElCJLrtiX/K9+k8E0b4guN43+gkdcb gPjkfmmVSE8xGOBMFyOAAykDT6Z0h1h1GeRGaY1NENPd2LLgDnxYGlcxWAdv2lUt5d50 RXleBzIWXNL040Bk/5HDM5m8sUuw+vuXJd+kxqlYV4CbfOluSU5Mv4HfWscc90Ojq56r nRcyEbsg2O11bejsIHGbh9FlD5xeUE2d07niiiekyRVpEwXW/GFawlJg4Z6/AcPwkdeK ZSKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vqi+XrdY2PhrnIHlOPN+b6yJSzuLLDQQg7c2R8KYR1M=; fh=r4kiyTtjBEyKxt4ODEth0F3m0CHfTXGZVXxI/nJQjk0=; b=BWC0u9jwikTZsZOEKAzKUhCPoFNc3n+NPX9l78izrguNnN1gdrnjAuTV5gk1f+4v2L MDZIdA/o5say+PXuMvcGmISP9val9gWEhzF+NZ15sY5YyrnaOmJhhF+fitfgCxwYTe2T zemowm45KR/JJvHoj4mNAZICIv/PccmPkyJPTAyjceuBDZRKvIp+OT7aFFGyVouRe3xj INg12BMdQJIGOrNYV8Gy4UMqmUoaFs09xCkWBTSOTwDmbvwsDKicz15IWS40n+dbRby9 8Js6ms55+GUzHlyx5bzOlS7L+Mq1yMvYWEW64rz2D6IkVs1RptirnJun8hZ1hHsEPeJX 8t4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nMf6etTW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d4876si3139720a12.246.2024.05.11.08.38.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 08:38:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nMf6etTW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176613-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1FBA71F21919 for ; Sat, 11 May 2024 15:38:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2539C5674D; Sat, 11 May 2024 15:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nMf6etTW" 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 472A217F5; Sat, 11 May 2024 15:38:16 +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=1715441897; cv=none; b=n05ljSDPKCIm3gCMFVKfnQmM2CUu4AsIU5j83OpUxz2XXi/+GzK/vAqKx+GszKBXsifGgwiRiuQ7TVPbxlk6VcLt8tIHFyaOIL7c42v0BMIZBkePTDE/O2KRfOtpR0TIIRJJrzjaw1jvlkibpWeQl+t1U2FL4fY7b4XvOweQS7w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715441897; c=relaxed/simple; bh=O6CUJ7TOMBM6nLZ7+njB2Nz7V2IHmW5Y3v8WGwbEwHo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=moPfokdpTecDPIwjVLYDhLGaPAPoy1OEd/cgyoQgMUsWz5KEFYSH7mrVRGH//2EUn19xsPJQMIBeucJdtyBM0iATlTEZhCOnRzh5JKhAWKUHa1cj6eemle0PcNGXq+uS2D1DAt3vP6DF9Wlu+5N5y5HGxNPUIrp76fTfqMYT+DY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nMf6etTW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30548C2BBFC; Sat, 11 May 2024 15:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715441896; bh=O6CUJ7TOMBM6nLZ7+njB2Nz7V2IHmW5Y3v8WGwbEwHo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nMf6etTWOYFVHj/iu2S9B9jk1r6hufK4+X4Yan2uD0jc8PAiKhmvxpWQDx/4c7J8X 3okgT+AYEdtrZbYNYNS4G1lZtsKaDW+B4JsQ6F0AQA+XrY5DbSCrQVVP+/oMCY5h1D p3QApLz/85FCs+dgkzm4S/0GBaXBMkt99cSaakGiXXhF7EV3nyKzbxB2sDKUoaA0s/ gMtdok43NknCwFfArcW0RF61FES/F8enwgw7C4UGGQ+tkj6V/QKRfjqepik/mAKUFH 0QS1RMl4634UudGuFhYjyph89WDnUxPvW82hi81DyuL/ttxa/kmtK8LiFNSxyNppE8 T4DvQyKblHsLw== Date: Sat, 11 May 2024 12:38:13 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Thomas Richter , Bhaskara Budiredla , Bharat Bhushan , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , James Clark , Ravi Bangoria , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Will Deacon , Stephane Eranian Subject: Re: [PATCH v3 0/2] perf pmus: Sort/merge/aggregate PMUs like mrvl_ddr_pmu Message-ID: References: <20240505031624.299361-1-irogers@google.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, May 10, 2024 at 11:13:36AM -0700, Ian Rogers wrote: > On Sat, May 4, 2024 at 8:16 PM Ian Rogers wrote: > > > > The mrvl_ddr_pmu is uncore and has a hexadecimal address > > suffix. Current PMU sorting/merging code assumes uncore PMU names > > start with uncore_ and have a decimal suffix. Add support for > > hexadecimal suffixes and add tests. > > > > v3. Rebase and move tests from pmus.c to the existing pmu.c. > > > > Ian Rogers (2): > > perf pmus: Sort/merge/aggregate PMUs like mrvl_ddr_pmu > > perf tests: Add some pmu core functionality tests > > Hi, these patches have been hanging around since March [1], it would > be nice to either be landing them or getting feedback on what to fix. Thanks, applied to perf-tools-next, - Arnaldo > Thanks, > Ian > > [1] https://lore.kernel.org/lkml/20240329064803.3058900-1-irogers@google.com/ > > > tools/perf/tests/pmu.c | 95 ++++++++++++++++++++++++++++++++++++++++++ > > tools/perf/util/pmu.c | 4 +- > > tools/perf/util/pmus.c | 53 ++++++++++++----------- > > tools/perf/util/pmus.h | 7 +++- > > 4 files changed, 131 insertions(+), 28 deletions(-) > > > > -- > > 2.45.0.rc1.225.g2a3ae87e7f-goog > >