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 D58CB320CD9 for ; Sun, 19 Apr 2026 23:59:28 +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=1776643170; cv=none; b=cprjQbi2RsD2sP+zI5+wde3EOYOUXbyIDAr9ZGu1njFY5VPKmsQ74nIO7mMIisXqw1ou4s/Wa8bUFHp8P4jk6A9j5Re/2WEi0kUPPR5zABxlG4or5XUtcNRruq5qMRqdy+C+uEc3m5NE6e6kpeHaY3tvqOM0N+UjlgpsruYbVaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776643170; c=relaxed/simple; bh=NgPaLaJFqMp6zamOxSfuRRmEs8HuUZtprZo+Yxh1cHo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=IOc+tnbDbnL78iMIz4WBsvds4g2m+wNxduMJio3RLpVrrg26NT25V/J0ECUiQq2HVx2KyC6G1XVKwbTFYoJDCrJ6F9TmrKtskJW7aAfI4uhIVgafO+nqQPVXEISlq5OhiGmAoefdvKLmkT+2Mo2o9dNP3fFrLjzlZy3xKPBx71o= 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=h4jKP66v; 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="h4jKP66v" Received: by mail-dy1-f202.google.com with SMTP id 5a478bee46e88-2d9da2559aeso2330517eec.0 for ; Sun, 19 Apr 2026 16:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1776643168; x=1777247968; 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=uu1lUXIS/LNVbwMaiP8yOLb52zgqSWqic5muHOoRntk=; b=h4jKP66vk5OtHhgb4gDj3Dqnj6uhSsJkImtKUFZvQ/didOQUa8IdTmgW/M/NR3M3FZ l6aamp1AutVlzky6BzxwCebrMYS7jKFyTi3XnVPVUDTbHTO62HPuIyjglSad22u9JvRx s50+yGFSE/lWsuFUohf7/ReS6eDJdDsSmJoZ3TkjBXipW/OemUeTw4t+UR4424mi4beU KfTjKHB8ySPv+wZ4OvilTk91K4oy2WoU27owsXd1wmYs8WI+DZNyBrLqY9pIax0Uy5Yl pLbTjzrtUuaVEmOIV5qJqKWxwGscyfnVoBrjJZE4Qvce4k/fU165K1qzR8HthcbMzG+L 2bWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776643168; x=1777247968; 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=uu1lUXIS/LNVbwMaiP8yOLb52zgqSWqic5muHOoRntk=; b=GQPFX4mQjvGB5LdCgBwzET+ZQTsZUz+mrHcXtYvhUNPrmQ1tEXUVbaPuw9Cl7Dqvqx EruBtCc6SK58kM9Auk2s20ctZ0PJP3axebrXqy7k3rTWAUtr2EdYc3q+cfZ5xo6YFfb7 OZyJPkrTnUATDmZrWPE4PNL6y0hfSg8l+Az12MtEPU1SWo7CGsItS9dMk89TWepU9pAv V0ihMHOhuUfuUvFbKZ3NGMiLG6muecuNj9qhwcXeQIEy8JEhYCX9J1fnL07sSil8H+nS vqr07Y3mUfVJJ2QOmWlR2L0uvBa1UTdqUUaIdA+OrgfutO1A35L7VpjrzmQGJLKfalW8 hkJg== X-Forwarded-Encrypted: i=1; AFNElJ+cum8KerefWP+IgMEev6JdLUYOmiZWGp8Quwo+3l/x7A4N5mA24zxE4Vdm8LD7uxu4WnqxIdWMIO3858unLrh/@vger.kernel.org X-Gm-Message-State: AOJu0YzpM2/n6o+vTfDaUKPnzFUKqagQR3xil9N2XJr8DSKspBTTuIzR sIoX14TpMk3bPs9o1IXy9+Q+6VzOt8hxG+WbiIiiykL3GwY/8V6XuDnEajbSihBkfhOor4KRi1X uD3H3XtGwaQ== X-Received: from dybmf46.prod.google.com ([2002:a05:7301:92e:b0:2d9:3c6b:a26b]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:8622:b0:2c9:1943:e7ff with SMTP id 5a478bee46e88-2e465773791mr6285565eec.10.1776643167605; Sun, 19 Apr 2026 16:59:27 -0700 (PDT) Date: Sun, 19 Apr 2026 16:58:15 -0700 In-Reply-To: <20260419235911.2186050-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260419235911.2186050-1-irogers@google.com> X-Mailer: git-send-email 2.54.0.rc1.513.gad8abe7a5a-goog Message-ID: <20260419235911.2186050-4-irogers@google.com> Subject: [PATCH v1 03/58] perf arch x86: Sort includes and add missed explicit dependencies From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Jiri Olsa , Adrian Hunter , James Clark , Alice Rogers , Suzuki K Poulose , Mike Leach , John Garry , Leo Yan , Yicong Yang , Jonathan Cameron , Nick Terrell , David Sterba , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Alexandre Chartre , Dmitrii Dolgov <9erthalion6@gmail.com>, Yuzhuo Jing , Blake Jones , Changbin Du , Gautam Menghani , Wangyang Guo , Pan Deng , Zhiguo Zhou , Tianyou Li , Thomas Falcon , Athira Rajeev , Collin Funk , Dapeng Mi , Ravi Bangoria , Zecheng Li , tanze , Thomas Richter , Ankur Arora , "Tycho Andersen (AMD)" , Howard Chu , Sun Jian , Derek Foreman , Swapnil Sapkal , Anubhav Shelat , Ricky Ringler , Qinxin Xia , Aditya Bodkhe , Chun-Tse Shao , Stephen Brennan , Yang Li , Chuck Lever , Chen Ni , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Cc: 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.rc1.513.gad8abe7a5a-goog