Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp680882lqo; Fri, 10 May 2024 11:15:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUTFdYTD4yqKJx0TBYBxPhKmZyTjash6Np1frp6U9EbvpdW7FeHSeq0++zgJiX24MlCZZi9izhT8znCxoMbrdKxhv4tBLX5hVZfOWmbA== X-Google-Smtp-Source: AGHT+IEu1vvxj9GGllMbU9dnOMaNrEnrG/AIqJzuMkoZP7MwDfWLxEsRosWrUzqNztCeV31PdtPr X-Received: by 2002:a17:902:f689:b0:1ec:8d50:8dec with SMTP id d9443c01a7336-1ef43e293efmr45227125ad.39.1715364957382; Fri, 10 May 2024 11:15:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715364957; cv=pass; d=google.com; s=arc-20160816; b=rZtW9x4bgrnTyR5lPKAflyHvzI8l/YGQ9y66vWow6+dS85xEpf1M/WQMbbLcIwGDGW vXmbt5gYUiOvpawMDBJCl4cD13eM2CBMVHJnybQ3RHmq636JDpS7He/W6lxcHpJppKMD 6TrDodMUiia1IyXQE84auPASaRJGbk80QTkpqzm0YqCwjEs9OQLq2drXg1NlWb4PiXPE t+Pav5vjV32wZqIhFkzQGGjDwSqiYF/G4c6XzblwltRDoNQ2+dUNtfAtDDRnvYOpcXhM KoznJsHtrEtnTq+59xEQrsIc84pfCWQcfUu8B70aJ3iEhZhSGbDNVGZu2FO2KFU+m6HA xwqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=awbg1hXHMBJgOYCrGAE0ipMK3UY/AVrGWhRCU4GMaY8=; fh=zq+0WsEx3RwznLb0t5Ywr969uP/9yh4OlTpuchz5WCc=; b=JnDCRoOUDxIiyxrrJaYADixOF0TFyXnWoHRJIEWcNGJUDQMcg8Ll3r8k3TNStxjYjz M9oI8Pq/IHgZ1+36wdWYRLTI4UURRxOzugViNFhJQhBxe8mbZekAAiVBts/FN/n1qBtZ 9XU375qsLjUOCaV2xIKK3K4OsBWaBixE5xweb9zfP44doAZkiH+8GOiqx5D0rnLMsneG +oI5DY17L4BVlIeHwHGZADASvybrXNfbrFUVGnMMibK3luzyk/ukrGYgJpq3fl4Tkx5s qnOE2ldzya6BIteK7lXyRel14bQEIai0tBOagFWEt55uWmyyULXTsFM1DOB1HTyEXhbT DLZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="b2Biy/VG"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-176087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c2557b6si41943995ad.551.2024.05.10.11.15.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 11:15:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="b2Biy/VG"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-176087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 67F66B20F18 for ; Fri, 10 May 2024 18:14:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE52A2744A; Fri, 10 May 2024 18:13:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="b2Biy/VG" Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F97D18EA1 for ; Fri, 10 May 2024 18:13:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715364833; cv=none; b=Ks/vuQu6CDY1pRYJTsYr1bnlcOeNW5pmNxqgk8mZfE+621ZSKqmWupA1XDe/1ZH2a4uEby8KJCQ/fqFzQez0Aj+4dtnJF6m3+9RrPoexIFSCqP+k43C4ahxuzScA2zkwczCbQwYcBUFHaR5vswOQzBz9r0Y/dTJbE1mmK4w3h9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715364833; c=relaxed/simple; bh=t4K3aj+Qg+DY7iHNJVbgeEYoin9ImKEn5FRMCsBcwks=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Content-Type; b=ODYOGKUatpM8YHVhhLTmOirIGRXCmfkBeSqNOk0CRsPi+YxiuRLjypWFZXS/MUXBBTYA2PBrtY2kb5T2yauNWlqJ7+jKw+EJvBON9antVluzX2CarsWAUbXx5hpziqOepUe/BBR86M+f06A+Ol0hpWyTnXsBUXloJ21vmuXIzZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=b2Biy/VG; arc=none smtp.client-ip=209.85.160.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-439b1c72676so31631cf.1 for ; Fri, 10 May 2024 11:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715364829; x=1715969629; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=awbg1hXHMBJgOYCrGAE0ipMK3UY/AVrGWhRCU4GMaY8=; b=b2Biy/VGw50x3T3UuqP1/VVLjtSMd5YQ1qLUo1O0Q623UnL0BhjELKNs1f8K7+1oic EY4FAxFlDjxEINmjbJLDQQUvx1O26yFKVkmdoj9BrMVluB2cdrOsZGxS3CGZjyZxtg/V /kWumo9s0/jSEvTbTOwH4Z9Wl0sPYXg7xDaQQ7oYUuZ6H/q35la5V6wg9Sn2wm0QczUs IArMVkkk1kGQ6qOaLeyCM89i0WStj/N0nHvLTY6kJclfSqKKZeyhufMSQTf2j4ejZZiA WaY6rBCR87nZtzlWlpWpl0jfcG0uSyEBWLaQu1uBc/cKqrjmBmdegB9Hf2b/EaTmuqrB 59ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715364829; x=1715969629; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=awbg1hXHMBJgOYCrGAE0ipMK3UY/AVrGWhRCU4GMaY8=; b=AgPxkr0xfvfPolK03f5uSNuXmb1MInCM3ALxWYldH9vp2IAJgZ/NZ7oz/DXr4PAk+K AuvYLlCDq0p74iBVL1FzrJsVABW1cS/uy6W6fCp0woLl0DGfE4NyEb9NYx0Y1xQIo45s 6dgoDIZ8SEjor0GgbMfXOo4B7t50hXLlScEc3eXEJdaNsAGKn5He3a0DQ5G+yM6ESrt8 t5fdRcO8s7fLgBKx1GQC5hfR3i1dhomv5xyasQS8ftkzI0PdFr/e1mV6Kh6h2hm08aqA MN2K+5BIv9x4of/anTU8d7hfbpYXa7X83wInKfCoc9Ir8jS4ZTqD53+R0MreHp1QEFye kQqg== X-Forwarded-Encrypted: i=1; AJvYcCUOQ69A6QabUHvV/gMqJcr5OQjco7HlaxfJJHIXOCFd1qEpden3WcozVmkTCrVjhwadeXVO2+bClxV6Ns5x7QELBg1ubfCDYG1VNGLi X-Gm-Message-State: AOJu0Yzsbr2KTebNx9kwDSph7/VYh3d+YfCMve8ZTpZjlo07UsJTKac6 vNQnrNLahkEyqlXOvy0LKOtRrcAGLT2oTZwPwp5tMwUoA0DTdUaUTaKEFJG7DW40D/Ten2a8r8f 0DA/AWcxWDgpnp2mmVneJ053q+Tn1y+Hj/J1f X-Received: by 2002:a05:622a:5407:b0:43d:e9ce:63ad with SMTP id d75a77b69052e-43e09222ee6mr278621cf.0.1715364829085; Fri, 10 May 2024 11:13:49 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240505031624.299361-1-irogers@google.com> In-Reply-To: <20240505031624.299361-1-irogers@google.com> From: Ian Rogers Date: Fri, 10 May 2024 11:13:36 -0700 Message-ID: Subject: Re: [PATCH v3 0/2] perf pmus: Sort/merge/aggregate PMUs like mrvl_ddr_pmu To: Thomas Richter , Bhaskara Budiredla , Bharat Bhushan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , James Clark , Ravi Bangoria , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Will Deacon , Stephane Eranian Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 4, 2024 at 8:16=E2=80=AFPM Ian Rogers wrot= e: > > 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, Ian [1] https://lore.kernel.org/lkml/20240329064803.3058900-1-irogers@google.co= m/ > 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 >