From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5EEC7FF886F for ; Tue, 28 Apr 2026 07:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Cc:To:From: Subject:Message-ID:References:Mime-Version:In-Reply-To:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RL6gbA3yHwRjF7ykSQ2dEvMc7Axg6yuH3FzRoVTsCT0=; b=TE/xZ8a2Y0uUCpYQYx58IYINOZ oNuNBB0EB2cOA3+h9yxdYETcHBMugVZbtfPuy91qL4XH3h+ARTkQ2WX2l0u9KGl2LF0PbFzAq+SAV rtXoebA5c4fHC9AZvgNXiPDExvHJCNF4/vjauIVIBbDFPmCnw3bMvwYxPo4feADTW8uhGFk8AOXOR GC95sCZbZNqWgI82EMWxqoAiWWh+9XgUQEDb4C8tufsquZ1FWbzcC5BfVDLEHVIGK8RI5tu3ot+WG LRCQTX9S+GvreCUpJdeljvqo67WGNuC+mUmRHF4OKHRZpMOAWWdWakjzxvFk4m6d8urZUzjiGrZqN SlmNJB4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHcjF-00000000gLK-2fMN; Tue, 28 Apr 2026 07:19:33 +0000 Received: from mail-dy1-x134a.google.com ([2607:f8b0:4864:20::134a]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHcj6-00000000gGo-1sKD for linux-arm-kernel@lists.infradead.org; Tue, 28 Apr 2026 07:19:25 +0000 Received: by mail-dy1-x134a.google.com with SMTP id 5a478bee46e88-2c0f6593ef5so14537645eec.1 for ; Tue, 28 Apr 2026 00:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777360763; x=1777965563; darn=lists.infradead.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=PfBnF1ZinMCJe/GMN8+ehPr0byOWjnmAei4PCX1Fogd/XAykKZpzp75Kr0CnqlkF37 rJFiGz//UnKGvyIozFV14qXfEsNBcmaxfXGQSn5kUfxb3d9duNdVvCHsRqraTdLpvGF+ t3dD3vsJFFuTC6QH41seN8V7EL3BpLFaQ3YT0FFLWYERdk2lfCWFFU3fDV3W0CnYY0r6 OjtTA9JqWpEUixAmJa6n5r51PWbjmqxL889kFYVavBu7kLfiDxofJi41/GOErd0+atQU z2IqlLFJtrXzdjHdO7x/Rv1BKjlIOa3BG4j4RVAOmtEV4X+0O4+0+ZPDVCfv/n/NUk/g pUMw== 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=nzxd9Vg7V8VDTl1O3wRN0uq3DhITNN/lew/aPB4ckR+aTkXCwV7GXz8njsP1Vb0Xk0 3x8ex1/ShD9osLspJiXLDpS0lXhtnWab+8Ed1/5Fp4vA261VAnORr7YzDfzVu9aHoB+S XkgJD7LYFNuwsWLzBDT9lcSBHCDFgrY01oAhxdo3/qteucIPwbXobTfcwORGdqVGrm9V wkyUxhLX6ZVM9xFaMPLjEFtqmH5ToHNzePeVOULC4dkbcOsdoin/iCGnz4RiGS3Br2FG 6IUHdorMZ2AZSc9m4B1+bhNk/xkDDWkjwV85EJzLIQrWc6GonDTNWUo4N42ldYY3cJE7 cudQ== X-Forwarded-Encrypted: i=1; AFNElJ8cE5qaQoIQemNT2tjUdXfPWUOyBg4msrdFJHH+5CveyM7v2/NFUG+1ZhHNmAYPCWWgLomaPy/yRMskPyOri+3Q@lists.infradead.org X-Gm-Message-State: AOJu0Yz2n5mmYlAQlKGlEn3tpNSEa7/DtaNt8aGtK1CSRZqSpLSBzmNM 9yv3YVSu2a2HiNo2i/Jnt4Y+Y9Yvpkjry/W6yXrX7qi+ubTk5iWWvCur4UrzLWGv2W9FGJcGHyu EQdjSkp0CTg== 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> 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" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260428_001924_503336_9A7AE179 X-CRM114-Status: GOOD ( 10.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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