From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f201.google.com (mail-dy1-f201.google.com [74.125.82.201]) (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 B2B653911C7 for ; Fri, 22 May 2026 22:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779487488; cv=none; b=VHjRjGTXDPC1yGt2pV4DsePo9fq6LMg8OqJWUm8OoU4bH7VrrDSSsB4HPkALh9dsE9je3PFaMyhYXyiub5lBHhrI5AMfw3XqLI+X7FOlCHd0Aa9w9Z+dBu06vmWsDn/cSYaeKpCOa8GnUjQV4QXlG8SYr6i8mRy9Nu2r4mB68OU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779487488; c=relaxed/simple; bh=oYp56yQ9c3HTPir1o13TAxUrIQnMwxiHstNvNMPJJn8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=LhSM9PQxdqwhBXkjwQQtt04utcb3eGSgmcbpUV5G/TLhvZAa8XEBlSsJMisb/D+96be/rPKFIftlJjZ9Y6rwkKWc9Y+Y7uz+B9XW1mjQSLMjKiKo7OtwT6owzjUeu/TEFOX0KW8KgTpEx1cl8cYi7cpzXj9iRcnyjQJqyQJGCFw= 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=eHBIakqU; arc=none smtp.client-ip=74.125.82.201 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="eHBIakqU" Received: by mail-dy1-f201.google.com with SMTP id 5a478bee46e88-304448ab58cso5503720eec.1 for ; Fri, 22 May 2026 15:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1779487486; x=1780092286; 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=oLgxoRHXv6qZ3ND3G4At5I30r6SxZQ/gRRHwp7gOY3U=; b=eHBIakqUopjqjdgr6tBj3f9dQAjKt8xrghSgK6J/fsvvTTiy30qg3J+Y+g3nR3kPaI GoNECEqNdHgn3iHoNJJQDOkpJpBrVvBnkD1FVWYgp8I8L4v4HjYcq3wOObp27ievp8sZ t/SewWfHvrIqx6U1h9eENuupN2Dlkw8nsHgweT+mX5a1fW55/rEoeLWsHniTqjsF01tP 6iAtRaSmsBTIOc2jvWDMqr88CJkHIUQRjU8piEMxuQ+gJ8tzinYoJ1tj2dMbBhdcrAPY wTHtq0qujn4/R6SUlZA2QiRECiEYzz7bLqc44E0cGzp8Gdq3NfEAjP55gC3twtk0QEwl BIDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779487486; x=1780092286; 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=oLgxoRHXv6qZ3ND3G4At5I30r6SxZQ/gRRHwp7gOY3U=; b=KB4q2ryxUXelnDaEOvzziA1iG46MQGFgICZ/LFIupPemsS4J/PpYyYcKdqGrl4mGHp GDwDgFPQxmuZqU7tC2xKqF3fK0bCC1liYJortjoPWRWu2CyAOWZmS1Kl7yFRV4EWupp0 G/JpYrmPgz3kn/hH7bZC4hGkGIBsnunXOVha4Vm+cB+k4/4Cb5IcVd0hGMgZScV3Tsax vOB4hIKT66zAJF36bntGpaLxi1x4qm564/Y65lv+GpKXOGM3mcNG0pCZRZgeRAJWayfJ 3BZ3kKxPLacj9HtcWzmQ8j50RP68SlEiDcgHTqxYJZ0woQUZ2HNWTDtC2fJ202GSGcBH cv3w== X-Forwarded-Encrypted: i=1; AFNElJ8M0tvpDwnglO3XDsBsqjtJRzqnVrOkNYL+CfcaeMkR0Ttus4EsvvwYtae4yrST/GYTEnFCBTaaLjZEoFo=@vger.kernel.org X-Gm-Message-State: AOJu0YzxAu5p7hRaeFcOlwX0GNl5QDFwcbGJQSMriPJp3kaU3eCmkfC+ XBToHcC4SBLEzR1eFOAPgv1T39hnXxy7e7NfHkWqzy11wQf1Hhakp/3fkJZbxRzlaiRAGaPMl2e ZhE3ZJ4jcDA== X-Received: from dycok22.prod.google.com ([2002:a05:7301:db16:b0:2e5:fa99:f6e4]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:8b1f:b0:302:e560:afb5 with SMTP id 5a478bee46e88-3044915659dmr2907607eec.18.1779487485728; Fri, 22 May 2026 15:04:45 -0700 (PDT) Date: Fri, 22 May 2026 15:04:14 -0700 In-Reply-To: <20260522220435.2378363-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: <20260428071903.1886173-1-irogers@google.com> <20260522220435.2378363-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.794.g4f17f83d09-goog Message-ID: <20260522220435.2378363-4-irogers@google.com> Subject: [PATCH v9 03/23] perf tests: Sort includes and add missed explicit dependencies From: Ian Rogers To: irogers@google.com, acme@kernel.org, namhyung@kernel.org Cc: adrian.hunter@intel.com, alice.mei.rogers@gmail.com, dapeng1.mi@linux.intel.com, james.clark@linaro.org, leo.yan@linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, tmricht@linux.ibm.com 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 | 14 +++++++++----- tools/perf/tests/mmap-basic.c | 18 +++++++++++------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/tools/perf/tests/hwmon_pmu.c b/tools/perf/tests/hwmon_pmu.c index 4aa4aac94f09..ada6e445c4c4 100644 --- a/tools/perf/tests/hwmon_pmu.c +++ b/tools/perf/tests/hwmon_pmu.c @@ -1,15 +1,19 @@ // 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 +#include + +#include "debug.h" +#include "evlist.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 a18d84d858aa..a69cd1046e9a 100644 --- a/tools/perf/tests/mmap-basic.c +++ b/tools/perf/tests/mmap-basic.c @@ -1,25 +1,29 @@ // SPDX-License-Identifier: GPL-2.0 #include -#include #include #include + +#include +#include +#include +#include + #include +#include +#include #include "cpumap.h" #include "debug.h" #include "event.h" #include "evlist.h" #include "evsel.h" -#include "thread_map.h" +#include "pmu.h" +#include "pmus.h" #include "tests.h" +#include "thread_map.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.54.0.794.g4f17f83d09-goog