From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f202.google.com (mail-dy1-f202.google.com [74.125.82.202]) (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 9325C3B9949 for ; Thu, 4 Jun 2026 16:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780590995; cv=none; b=W+MSNqCHTh5E5YlaXfj9wKaHuDNGxZQqTwqteVcSKRb44/Gd9xHGOgxaWMAYHFbI1Vru3xzCnp+lZMuTyrwb6NATqcS2G+gBUkAbb/9LlYQ4uDWYM0ief2ZvGp47el6f/oVJH0cMSoE4/N3f5ZMAZXvgGZw7CcwxQybwLUtLEL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780590995; c=relaxed/simple; bh=8KMwVDloRJv3u7zQ1QoYLXuBk6F7DA9qXzQl2C1aT4U=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=OmccFLvbK2tlESiDqQsACJLjY293ImYrZSSWWAfrbmhGPszaJJq26KWKqe3jdI0lH1GZ2a/UzpDjj9Ol1AI8BpKu9FUfxAZwBGxqeqvl2kcwnLiAlzBmry9xmxUeUhgfzN20h2EYOrgzc5jMNZTYIjTved1UU7e+qhJPhFSV6Qw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ph4WULqR; arc=none smtp.client-ip=74.125.82.202 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=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ph4WULqR" Received: by mail-dy1-f202.google.com with SMTP id 5a478bee46e88-3074d4102a9so2909720eec.0 for ; Thu, 04 Jun 2026 09:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780590993; x=1781195793; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=fzNq6Wpskn2PvTG/URY7scuiN0ETAqqQYLor0Df9R4k=; b=ph4WULqR/vPjogD6n2415ytXF0lXsrMZnCkz1LnfzwWQTUW5bfzKTjNahiD/FkIxKI DlumGT4+jWZkML8958Kc20BqrrrOSAjiGPj0L9HwzDkNxBjD9fMbKnGI0P6j3rQkFUva Ka/wu4rNB3dMvlmM46DYoqlRNEkg/0xrPUQHrfwHEreGCaT32m/DN8VJ75ivrORNEcYr 2y6sJdaxGVt1EpplyvtjWxryGCecPGcXKOQ8IqIUFbzfgJ9Exzd1MlzksE7JKevT3Y59 4F2lYiK8us5tm06MG+yqGZi+9GHuA2qHoJkLYaiyjrlgrtpY3snXzIVJwkD7cUTD4hpe B6ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780590993; x=1781195793; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fzNq6Wpskn2PvTG/URY7scuiN0ETAqqQYLor0Df9R4k=; b=UIFnrpMg2viOGJhdS7sgmxtQWWMf2ajcBWdjlQA9RG5Ttdc6I7c5IOQTvZCLNbFfbY lWbpt5H/C82+x6qvQOPFk/KjtZNJUopePatj8fL4F19hAm4TwZiBzNG547znwLjJEgYb cOwzjItpyes7NoE3YS0USuzHDkOyH+EYMqiH9cOMcTFGVYKi72TEpKQAxiNseEb1yuCu gw4LF47JQypz97lK4SFpdWDKD1VmT/8RnqLR3akj8a8WB2/VsWmHIaLHp7boAANRYdYV qvXLSko+prjbucwYE+eVPp8rwT7SIrnTIOfvSxRSP86F1S6pRTx6yOtZ9Keq2PUq8V/I zIKA== X-Forwarded-Encrypted: i=1; AFNElJ/xoFlQQmNaGD1JkiJazdh97LI61+2pEbwWu57AK2zLOm4Qu3h9zbLMaipCA0zN4VNPf1D8lQ1lcHC+ppk=@vger.kernel.org X-Gm-Message-State: AOJu0YzwoqYdBjydHr+QMSKPmWQxGrSiJ2lz+ZZu/s4RK2QfRvo9LT0L s85f2rHyHA3rHk0yb4mo6GBHSmKTc7sVvQCFOpoo86fQN0CO3SIdxagpzxm4+xeCOZMt3u3NYTc 7eS+8f/KlzQ== X-Received: from dldz16-n1.prod.google.com ([2002:a05:701b:4190:10b0:137:eece:fed7]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:dc03:b0:2ef:8b91:212 with SMTP id 5a478bee46e88-3074faa0516mr4758558eec.14.1780590992391; Thu, 04 Jun 2026 09:36:32 -0700 (PDT) Date: Thu, 4 Jun 2026 09:36:25 -0700 In-Reply-To: <20260602174129.3192312-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260602174129.3192312-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.1032.g2f8565e1d1-goog Message-ID: <20260604163627.501078-1-irogers@google.com> Subject: [PATCH v9 0/2] perf test & PMU metric resolution improvements From: Ian Rogers To: irogers@google.com Cc: acme@kernel.org, adrian.hunter@intel.com, alexander.shishkin@linux.intel.com, james.clark@linaro.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org Content-Type: text/plain; charset="UTF-8" This series contains the final remaining unmerged patch for the perf test improvements sent as v8 in: https://lore.kernel.org/lkml/20260602174129.3192312-1-irogers@google.com/ v9 Changes ---------- - Patch 1: Resubmitted the "perf pmu: Recognize 'default_core' as a core PMU..." patch, but this time with a squashed fix for a metric resolution bug due to its use of is_pmu_core. - Patch 2: Added explicit clamping for max_desc_width and width based on the buffer size in format_test_description() to satisfy GCC 16 and prevent the -Wformat-truncation warning reported by the maintainer. Ian Rogers (2): perf pmu: Recognize 'default_core' as a core PMU and document matching perf test: Truncate printed test descriptions dynamically to avoid terminal wrapping tools/perf/tests/builtin-test.c | 70 +++++++++++++++++++++++++++++---- tools/perf/util/metricgroup.c | 3 +- tools/perf/util/pmu.c | 19 ++++++++- 3 files changed, 83 insertions(+), 9 deletions(-) -- 2.54.0.1032.g2f8565e1d1-goog