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 A219A33ADAF for ; Fri, 24 Apr 2026 16:47:54 +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=1777049277; cv=none; b=t7jw9KxgOf3m6umOJdJZy+smeG9HYhKl535b+Lkihk7VBGBxhaI9F6GXbFP0t6YMH9VyGSQgx+4u31JqPVjEHC7ko8zaLUUgAZtsV9igXcUtdUST1I3sqtkZDRXtpy6hicFLxtqgZaUCYcaasxpTa3UP63FgHNDqvCo5RIsFaR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777049277; c=relaxed/simple; bh=/h8ESLHe5S0bbxRN9MN7l0JrDETJedf6AiFuXhBylRE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=XOepS+omVTDXRcMytWdqoOoTLLWlxoWVwaPBlKGlFCL42Nd89F4bVPh1AeMD0NQ1QBL7dg/Sxm0aQor30+zh8zxnKvkry5ZWQbv1zZ0M8k5KSqe3vBvFof3/xAU5Tuk4ob81cEKFcSF3T6Er7Pkt3Ou4TZ5SuaNLFmfa8VtOrQE= 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=iKRrwGyj; 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="iKRrwGyj" Received: by mail-dy1-f202.google.com with SMTP id 5a478bee46e88-2bdf75bc88fso10401876eec.0 for ; Fri, 24 Apr 2026 09:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777049274; x=1777654074; 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=mqXJIn8r4IA9Gva4etcbzr/XlHSVW6Lm8pY9GKRmyzg=; b=iKRrwGyjBareufwZhFxVJEPyhGtiy8wLIHD44ROSPLfx+ZaFjPPQTLo7HxKSmoRb7T VJAYr3p32B5GRJW/nQv5VUu5e8FfLzmzcfRmLPAyO8OEm0zxXbwJhkfXfSwKxThqeGw4 KD+CbWTEOpV+eqb9snLmZmHcoP6L7sUX4KZElG1hMDeCsLxrS0Bjes4+JwYk+5lYKDuB hpS8lyd2riY9DhpXU+8GfJX/AIzccCStzKrdmcxdNffCyIs1yshvJxGPx3CJ32G7cfxu KgbZzqcbHm3yOnxqyIonqS6RxPsOcd7vqJUlAEbXdQ6O0Y3CYjdcW+bW2TMaWVfyLATJ hK1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777049274; x=1777654074; 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=mqXJIn8r4IA9Gva4etcbzr/XlHSVW6Lm8pY9GKRmyzg=; b=g+RGg0mpAxiEDmpm3slnElolRe54YIK14sUeVBnIiapXoWfEIEgPkjKwP94MeTUhYh QZVvNarJwIs2Oj8xmqhXEW60+wUZlx1yo/WEJAqGKnvVe42pkxKyq1B/vrwd1X4h+rnz qtCIDbfA/HGKWSfZVpm4fjqVcUs/X3icWj81b9x8qARUDFDeRGU/oq8jjyBoJuDNnWsY zQ5eUkKsmMpubNEM2AyDOToVA+7A4Xgl+u9Hb2pLFP9bhRiD/x1nmk9Igi8amwFFr++d 1vfx4rS9d0ENWCAOEY6Boh0dq3wydk9acCmFdlo+ZMPa9UeyV10/c99PmrxzvLUVmolS UDBg== X-Forwarded-Encrypted: i=1; AFNElJ+bQRA8dCMPbbH+QZl7S8tfBBDvQo6RCSeGzGBcfOy72h07ZTrtmiCa+I3Ms64BlZxr1nqGK8+Rqi4MVec=@vger.kernel.org X-Gm-Message-State: AOJu0YzDS7gezbXl6739yh9lGawPnQB3QN9Bi/fY6jXfSl+jyzeELwlC sEzILVhu9FxMq6OiiFhhCJ8bOyAaAL/IS98wEGo+leNCw8/Bxc/xMuaAtmybLrYZzKAG+mS8uw4 zyeFnM+75bQ== X-Received: from dycrm24.prod.google.com ([2002:a05:693c:2a18:b0:2d9:8328:8324]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:3723:b0:2e2:27bb:a48c with SMTP id 5a478bee46e88-2e47883b6f3mr15670318eec.14.1777049273554; Fri, 24 Apr 2026 09:47:53 -0700 (PDT) Date: Fri, 24 Apr 2026 09:46:26 -0700 In-Reply-To: <20260424164721.2229025-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: <20260423163406.1779809-1-irogers@google.com> <20260424164721.2229025-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.545.g6539524ca2-goog Message-ID: <20260424164721.2229025-5-irogers@google.com> Subject: [PATCH v5 04/58] perf tests: Sort includes and add missed explicit dependencies From: Ian Rogers To: acme@kernel.org, adrian.hunter@intel.com, james.clark@linaro.org, leo.yan@linux.dev, namhyung@kernel.org, tmricht@linux.ibm.com Cc: alice.mei.rogers@gmail.com, dapeng1.mi@linux.intel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, Ian Rogers 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 3313c236104e..8d04f6edb004 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.545.g6539524ca2-goog