From nobody Sun Feb 8 20:28:55 2026 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 8D6342F7ACD for ; Wed, 29 Oct 2025 05:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761716066; cv=none; b=CPJwlwoWUGgCRAp/a1aCgsf8kA1uApGgXsLTe3o7lXl2TqKD+7aipzQKwW/iXnDPU9jZR0v3J+jzwnAWF1N3xvBxL9j8dwtlAzXmobqwfIKfNELx2GgmkSMjIJVEisLQObrB7WfqCG80uynhj8aWmZ0vT0osQnCaunvtlUR5hkk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761716066; c=relaxed/simple; bh=rQBABjY2ZcI7bzoVi9MOUvkB6OWm9RvFP8qPtuA7Et4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=Oq7RSK++Dg0nqQTSF4KM96bdvkbtvo59+Z13YeQ4caBCZXyaUAhfjdVfnjEopDjg5ayp0toOHjeM19lrOnLvEy4Jjj0v0A8t2m3BZh3i+zhZ9MtuGbngoZQtH+oMaqtIpzW6XzbE7D+RgN8JFzshAAfBF/ONHKAoRGR8PThrq9M= 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=J4kh14A8; arc=none smtp.client-ip=209.85.216.74 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="J4kh14A8" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-3403e994649so284045a91.3 for ; Tue, 28 Oct 2025 22:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1761716064; x=1762320864; darn=vger.kernel.org; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=dR63+sQBngTuWGvF49cBTkLmw7RMYV8Fq7W7/Lk4BTE=; b=J4kh14A8l+7ozTUmnedfenDSYrxKa1+HC0wCXHViFnWgQXM6tpT+K0zt3LWiy1ExzN vOJITGYUSBUAjkFBwhFfHADSCEeMxuX+aJKnRWDLMGcbvmVQ37o6rldjIcSqwsUf7acH RfY0wNWA019xfo/7G01j05d9gVfFAAxzIjX1maPyzwIqWMACYgGYZ3wd2xzHItHVt1zy 05HW13Da4UDm1ID3hZ3zRZUzaSrXT7g/yzobEQdHU9NHoEK5ZjNygVxMyT/yvYkZ9gU0 6yaMF77/Ek/TBgMQ8U+x2gKDYXPm7lF7un9Raq36gi3kDwpQhJptUBACnTbxJu9BIps+ P7gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761716064; x=1762320864; h=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=dR63+sQBngTuWGvF49cBTkLmw7RMYV8Fq7W7/Lk4BTE=; b=MugvbqmI+PY1LcIR90xGUbndU8zck1tVHvlHyqT2OOwLjp3um13j6GXZDxiH6tdxAq UuFtL8XyYT6It/klvNMO5zvJhaNp+ZlCPT230JqNr23dHHlPj8xBT/zTDw+p53VGDqCk UfpDRrDEb0Hm0EyQp20ASUJkPjKOUUi0QOR1HhUOtEA3+joUwq32svfpylK4dGS4qdn5 e+gNPw4xqxLWo5+9D0p+kTUX+5IakeP7tTO41VcnC3ECC11L/Bwcrx6YNlRPt+bZcbTp pFABmxOdHRIPnAaBCBz8G/X1IgNR/qPxrQUl9nSgO6YD9A4NLU96NfX2qgngyKpkWrGr rAug== X-Forwarded-Encrypted: i=1; AJvYcCWvwbLv/WvQP764w7tv4zfTGmfXtu9ygFBB8p0z2k5B1bhwgoZQ9/1BKFCOHgYgbfpDZ+2A870z1t0umiI=@vger.kernel.org X-Gm-Message-State: AOJu0YxbfLugYV6TIar5fPWYGqpbIizHSceApZIGZt57e68Enm+NOnVv PqF3NXCi2Bmld+QTJRPEsVQ48v3htUdBZe9zxkYFbdDI7SS41I0n47+F9Pnn7drtW+tNxNYMtIi Cru4E3p8l6w== X-Google-Smtp-Source: AGHT+IFaRofd+fIISr/OLS3duPI/DGom8F/PI6KVPtolRQ7YsoC25vZxQqLqCVYXl7ckhJjYy4gcCkR4t4ba X-Received: from pjbci8.prod.google.com ([2002:a17:90a:fc88:b0:33b:bf1b:2cfa]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:4b09:b0:32e:e3af:45f6 with SMTP id 98e67ed59e1d1-3403a265529mr1978753a91.10.1761716063765; Tue, 28 Oct 2025 22:34:23 -0700 (PDT) Date: Tue, 28 Oct 2025 22:34:01 -0700 In-Reply-To: <20251029053413.355154-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: <20251029053413.355154-1-irogers@google.com> X-Mailer: git-send-email 2.51.1.851.g4ebd6896fd-goog Message-ID: <20251029053413.355154-4-irogers@google.com> Subject: [RFC PATCH v1 03/15] perf tests: Sort includes and add missed explicit dependencies From: Ian Rogers To: Suzuki K Poulose , Mike Leach , James Clark , John Garry , Will Deacon , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Greg Kroah-Hartman , Charlie Jenkins , Thomas Falcon , Yicong Yang , Thomas Richter , Athira Rajeev , Howard Chu , Song Liu , Dapeng Mi , Levi Yun , Zhongqiu Han , Blake Jones , Anubhav Shelat , Chun-Tse Shao , Christophe Leroy , Jean-Philippe Romain , Gautam Menghani , Dmitry Vyukov , Yang Li , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Andi Kleen , Weilin Wang Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix missing #includes found while cleaning the evsel/evlist header files. Sort the remaining header files for consistency with the rest of the code. Signed-off-by: Ian Rogers --- tools/perf/tests/hwmon_pmu.c | 12 +++++++----- tools/perf/tests/mmap-basic.c | 13 ++++++++----- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/tools/perf/tests/hwmon_pmu.c b/tools/perf/tests/hwmon_pmu.c index 151f02701c8c..97ea036ebae6 100644 --- a/tools/perf/tests/hwmon_pmu.c +++ b/tools/perf/tests/hwmon_pmu.c @@ -1,14 +1,16 @@ // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -#include "debug.h" -#include "evlist.h" -#include "hwmon_pmu.h" -#include "parse-events.h" -#include "tests.h" #include #include #include #include #include +#include "debug.h" +#include "evlist.h" +#include "hwmon_pmu.h" +#include "parse-events.h" +#include "pmus.h" +#include "tests.h" + =20 static const struct test_event { const char *name; diff --git a/tools/perf/tests/mmap-basic.c b/tools/perf/tests/mmap-basic.c index 3c89d3001887..a622bb8d4cc8 100644 --- a/tools/perf/tests/mmap-basic.c +++ b/tools/perf/tests/mmap-basic.c @@ -5,21 +5,24 @@ #include #include =20 +#include +#include +#include +#include +#include + #include "cpumap.h" #include "debug.h" #include "event.h" #include "evlist.h" #include "evsel.h" +#include "pmu.h" +#include "pmus.h" #include "thread_map.h" #include "tests.h" #include "util/affinity.h" #include "util/mmap.h" #include "util/sample.h" -#include -#include -#include -#include -#include =20 /* * This test will generate random numbers of calls to some getpid syscalls, --=20 2.51.1.851.g4ebd6896fd-goog