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 2EA813C7E0E for ; Tue, 28 Apr 2026 07:19:24 +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=1777360765; cv=none; b=TnZz2VVx8hpUSRMRBEH7NLggHZLTpdWbSCZPiq4y1b8/6+TZZnmoZWsxDdCufPXfPkJRMfBAo1bDiIYF0MBCmjGNQfwsMUPpi90yzQo0dmE8GSRU3K5ALlLpby83utcHPNvpw/tyf2LLJeJb8zHjX1u4Yi2pU8oFVgXWRG2EC14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777360765; c=relaxed/simple; bh=IzGtiew6lV3UoAkWJeECtCMku/bwu3+F3qCjyvwzJ3A=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mZ6pd/YVm3nPJVD7aiYtteJIgWagPO0nrIT4xsVgqceQON9P/6QtRi7g6Pk32cHFhAMtQOr5+KMNMXdQxjbeyokHnVI2759hsXXciIq68BQlJVUwp5PD/DNy6FgVAdepwwzLBWpb59Pw0EdrMCq3b0w2aEN5+eU8xGi69RGeaM4= 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=YXl67G0i; 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="YXl67G0i" Received: by mail-dy1-f201.google.com with SMTP id 5a478bee46e88-2c0f6593ef5so14537646eec.1 for ; Tue, 28 Apr 2026 00:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777360763; x=1777965563; 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=YXl67G0iPVbIeSj5dFIuiT3zaQ4EgF9r38uZncBIowaVBL5biygbUDJFj2UW53HTvo 9mKsGr5hrkeYFKy82g0limkNzMQz6NJCgaMLmljYBCLsHAgYDk+vsACAbcC1DFmm1wG5 dpe+BBTYNBTvtOCVsG2Xr72UoZTpRrwLwVRrMLPVHc2FDYq/5p7eO+mrNwV3aLgacYsD z7FjXm2jCdnDniT9CfWDamHTYjk+ghWaxBwpzSLjujnqzo64/MRgj9NLA9dzU3sZYJAk 32mc2w3xqdFkzyaN4cgqpSqONpvPUE5JuonJcvI2vU3MAlOitJD1BKwsHvaM7dhv73LY BCOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777360763; x=1777965563; 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=rPzGsUibleNn2Y1zNIn2DnfWq29hjjZBF3/7cLUTQWMA77k0M4eVvfIdp+NeRpP2Gj ulmi/N+5TUCGLds2m91h7vtprRkeXhdxqGzkWbhfU41oHCdOxlN6nj9A1F1cXdGktMBD 7FzUIKFdXzdEo6oczAB8bTzYhaeanQy9B5g6KhyEsGm/K6jMZC3NhFMlIpBNvAIrK49P uJrF2c8tQCfwTbV18T3SFaIF9FnSxahE1T9HGweM7UmeZRgOYfkD8TcfHF920YgS+Rmq kSpWXGHq30ij4VB8H+TQjEYX7GCRlX79jpt0Shu2yD1PKYKagXTMcxZR9GeTkK2EHu/c vL2g== X-Forwarded-Encrypted: i=1; AFNElJ8L2FZKUjeWu1Hzu8njK6FalFsfXb7glfBbd5XTGl2c99axK15U5Jkp2+fLqyReSFis3aG/gdeLLWfa87I=@vger.kernel.org X-Gm-Message-State: AOJu0YxetxvvqJER+mehkAefnECSLhr+aNra3GuM7vbnmOBBwTG3zXqD oC+xQv+++g14nfs+6sIkbyH6OPdwrOJHwSXGeNygCRvgOPM1fH5tK3wsPlelCfPWQuBd9lt/3KX VJqkuQAMmDg== X-Received: from dycnr11-n1.prod.google.com ([2002:a05:7300:e9cb:10b0:2e5:fa99:f6e4]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7301:fa10:b0:2da:2ec2:64e5 with SMTP id 5a478bee46e88-2ed0a084a58mr1036731eec.18.1777360763065; Tue, 28 Apr 2026 00:19:23 -0700 (PDT) Date: Tue, 28 Apr 2026 00:18:07 -0700 In-Reply-To: <20260428071903.1886173-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: <20260425224951.174663-1-irogers@google.com> <20260428071903.1886173-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.545.g6539524ca2-goog Message-ID: <20260428071903.1886173-3-irogers@google.com> Subject: [PATCH v8 02/58] perf arch x86: Sort includes and add missed explicit dependencies From: Ian Rogers To: 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, 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