From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f74.google.com (mail-dl1-f74.google.com [74.125.82.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 95C8F38C40E for ; Sat, 25 Apr 2026 22:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777156899; cv=none; b=HwopyEiJgWdSs4t6t4jf82OKceEV2/n6EHtHSJsi93Pfsx04gFhpyPP2AF+tlx4V948Q4VqZd0SezFe5RBesBI13sbNjeyw29mFCVo/frdVRHH5aW5MLEgY1rEF9qwo8kqSh0rgF1kS93gu4PUNU3c8nQ6WzpGj3Op9HMlttOjk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777156899; c=relaxed/simple; bh=IzGtiew6lV3UoAkWJeECtCMku/bwu3+F3qCjyvwzJ3A=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=WDIKQ23FKTZctIVRXAYKilaYn8Lox4+bJUoYkW1Va8NPbMgLnwBdVWiWIxzvOkDxCSBVMFK4W5H3fXz1AgzcsOjQI5Ohj7cvs7mTUjmjCqAt2z+4I0S3PKIUKHMBBpL898A9mLrn7AM+b2z4QSfDFsFItkGlHYB6UeXC/IulRNs= 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=lhuw8c1j; arc=none smtp.client-ip=74.125.82.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="lhuw8c1j" Received: by mail-dl1-f74.google.com with SMTP id a92af1059eb24-1273dfdaf5dso7499291c88.0 for ; Sat, 25 Apr 2026 15:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777156897; x=1777761697; 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=RL6gbA3yHwRjF7ykSQ2dEvMc7Axg6yuH3FzRoVTsCT0=; b=lhuw8c1j1t6lKFBkBzPSY41DjGYXZwpPlEyLYWd4ZFwBWEYap3lkozDt2nysQgejZb 9CzoDwY8e5AqX7P093GyvFInfPIXXg9zj1jJ/6M5E82r90HRaYjqAF1vz750gd4dZzkT B4S4n7ILAF5vk1RuJ9no4zK8GVV7kaiuBQk5kpMWzjxfAhoJTN2A4rVEoE/MIvhgUhFc TtCZu/K4GGt9IldyrqlajA4X+r3fI9QKwo0QUNICnmnP3ooWmUt0+yYOnpk3G/qeur8R smdFRwJsXbI1NT5ukZBN2lPTkKhQ4aG3G7B2aiU4DOeEZoFHEJ0/2StyUB+/7xRlLYs0 wTgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777156897; x=1777761697; 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=RL6gbA3yHwRjF7ykSQ2dEvMc7Axg6yuH3FzRoVTsCT0=; b=cuIudK+eXT9mGIyButnpX1JIkXJcHPVU9rmMACG7h4lw3rEKOx7Zk6qO79luO8TE+P b4txefm7rnudqQ0gLmlgz90vOL5BfoaeH4/NQP0KgyIVgr51wlQnRatUQ3XLBc+vuGZN 5y47aNdpjr9Tjy1oPQhZvADAGdC/Gugt3iSdY7otY9qrT+3HUvTZ4U9j+k3e7Uc7Gq6h CMQgzfhN1SqeFpwWpz/tPJcdVJ3jOP9td8A7vhKybmDwqnObzK3PTiHPT0dd4+ieYIMd ZQRvyexuMLU3LFlkYIyQ0AI40UeeplSsdpT90uXl2XqEbcLPYqTMyuzbnDTIwTSASYoX S1DQ== X-Forwarded-Encrypted: i=1; AFNElJ/eDycImYxW8P7FpwAfjjcRCI2WkKdTgn918fK0wzgoUAx2o0lsA75NiYouSQ/WSiU1YnzXAYXcaexS3WY=@vger.kernel.org X-Gm-Message-State: AOJu0YyhL+lwYphG0WEt3BXonSIuev6S3Ob4V5sXMD6sRixoaNrYPZsW JH2fxJ0UmvzP5iEKG6ypTKt5SBdLrH88V+yI/sLSiFEx5pBoWSeOW3cS+lDBOrb5lDbqSUtr3O4 9+KGb40Kbzw== X-Received: from dlbpu6.prod.google.com ([2002:a05:7022:e886:b0:12c:8eb0:61d9]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:2385:b0:12c:aae:7b43 with SMTP id a92af1059eb24-12c73b5af08mr15016774c88.24.1777156896516; Sat, 25 Apr 2026 15:41:36 -0700 (PDT) Date: Sat, 25 Apr 2026 15:40:28 -0700 In-Reply-To: <20260425224125.160890-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: <20260425174858.3922152-1-irogers@google.com> <20260425224125.160890-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.545.g6539524ca2-goog Message-ID: <20260425224125.160890-4-irogers@google.com> Subject: [PATCH v7 03/59] perf arch x86: 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/arch/x86/util/intel-bts.c | 20 +++++++++++-------- tools/perf/arch/x86/util/intel-pt.c | 29 +++++++++++++++------------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c index 85c8186300c8..100a23d27998 100644 --- a/tools/perf/arch/x86/util/intel-bts.c +++ b/tools/perf/arch/x86/util/intel-bts.c @@ -4,26 +4,30 @@ * Copyright (c) 2013-2015, Intel Corporation. */ +#include "../../../util/intel-bts.h" + #include -#include -#include + #include +#include #include +#include #include +#include // page_size + +#include "../../../util/auxtrace.h" #include "../../../util/cpumap.h" +#include "../../../util/debug.h" #include "../../../util/event.h" -#include "../../../util/evsel.h" #include "../../../util/evlist.h" +#include "../../../util/evsel.h" #include "../../../util/mmap.h" -#include "../../../util/session.h" +#include "../../../util/pmu.h" #include "../../../util/pmus.h" -#include "../../../util/debug.h" #include "../../../util/record.h" +#include "../../../util/session.h" #include "../../../util/tsc.h" -#include "../../../util/auxtrace.h" -#include "../../../util/intel-bts.h" -#include // page_size #define KiB(x) ((x) * 1024) #define MiB(x) ((x) * 1024 * 1024) diff --git a/tools/perf/arch/x86/util/intel-pt.c b/tools/perf/arch/x86/util/intel-pt.c index c131a727774f..0307ff15d9fc 100644 --- a/tools/perf/arch/x86/util/intel-pt.c +++ b/tools/perf/arch/x86/util/intel-pt.c @@ -3,36 +3,39 @@ * intel_pt.c: Intel Processor Trace support * Copyright (c) 2013-2015, Intel Corporation. */ +#include "../../../util/intel-pt.h" #include #include -#include -#include + #include +#include +#include #include +#include #include -#include -#include "../../../util/session.h" +#include +#include // page_size +#include + +#include "../../../util/auxtrace.h" +#include "../../../util/config.h" +#include "../../../util/cpumap.h" +#include "../../../util/debug.h" #include "../../../util/event.h" #include "../../../util/evlist.h" #include "../../../util/evsel.h" #include "../../../util/evsel_config.h" -#include "../../../util/config.h" -#include "../../../util/cpumap.h" #include "../../../util/mmap.h" -#include #include "../../../util/parse-events.h" -#include "../../../util/pmus.h" -#include "../../../util/debug.h" -#include "../../../util/auxtrace.h" #include "../../../util/perf_api_probe.h" +#include "../../../util/pmu.h" +#include "../../../util/pmus.h" #include "../../../util/record.h" +#include "../../../util/session.h" #include "../../../util/target.h" #include "../../../util/tsc.h" -#include // page_size -#include "../../../util/intel-pt.h" -#include #include "cpuid.h" #define KiB(x) ((x) * 1024) -- 2.54.0.545.g6539524ca2-goog