From mboxrd@z Thu Jan 1 00:00:00 1970 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 51DE02D0C7B 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=1761716065; cv=none; b=bY/ZDAAYFBRQNYzJ5Enum3yoWiAlQLlUnHE5kMNHToNuSsDU+Uc3Y1IuiLhXpvD29g6BXay6bFie0im2stN6Fz8EcpZc7rsFjTd86FMiORZQBMDtAJihjQxnJZ0lmwVAMojxMe2jZ+3ZCpYru8OMGFEPZbHaqX+063nF/Fe4cXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761716065; c=relaxed/simple; bh=rQBABjY2ZcI7bzoVi9MOUvkB6OWm9RvFP8qPtuA7Et4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=bGo1MsM6cJkyp6a+27+I8Hw5xAfKzi/bGDTgJyzqGyz9Hghvn+L9G7z0fuOoAV3eS7dr8iKYk+Vk6slQq83rHFyvu+SGNPRFwHNBzaQWbbEJzVSWuj2AcFpKZZhyq7dagkCX4OVYQRhu5nhtnCPgbNNJGLQMZVCZ/jn6slw4zK8= 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-33428befc08so15618552a91.2 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=NIeLBh1ye+WBiccaDNKjGO2hJclRBMu1kxa6ghHbCcMcCVrRsRyxIvjHKIO0T2MuFn AUY3pJRWDO7lR7p+QtZtnzKxCIdXiQEvYNhfuNQeuXo6o9rMcGd9LTC8rsPn00VBv5Eh TBHKxwrF7YNwVtbSLQj0L3UkR8kBmOwKwenMU1AFeB5y4oPtpBMXBx8C0Jumpxe07bEE r1OZbDb9JuiC/6yvYHMnfta2e1ar2sE28Mk/SYDtW3TEYy4hopCvgb3ZcDE4UIkSjXiJ yXjY1BC3OGHjo4MyS8dgiHfLL/erdpeGW51HGLdhsNMoMUYtGEZCfDnK2wRuv1yY17Qk s+6g== X-Forwarded-Encrypted: i=1; AJvYcCXTNpHRc/X1zw9lsPdhqVLiuB+hqHub7znn7cUH4pktKfP9k2lub9sflWgmUJzZNt3isq3D6gK7Uzq5S+6zylrF@vger.kernel.org X-Gm-Message-State: AOJu0YxSWeMmUa6zg/fzKzK98t0lPCu/t968y2jr156o+KBN2tLM5l9P 7tFXPf4SA55ul9e7Exu1Lrcena1eYOrX+JJux9Bxuu4dT/ok2X83xNVFQh4HbNmf0odNSRclsnJ e8jJT4/t2LQ== 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-perf-users@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-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" + 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 +#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 /* * This test will generate random numbers of calls to some getpid syscalls, -- 2.51.1.851.g4ebd6896fd-goog