From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795023921; b=Qkn/r3TMq19X+7iP6Akb+OLsyf2EEMb5nW67ZlZ7zmuOa6z5/yCLQZBxEHyb4sQy7a0E LlsmZpNFKbmKRaRPVxlJVJpMPcSUenagQvciRVwLc9GKkxOPBZIex3KWSvjEL3TZjHaOp KowPDOGCKlPMzdtt1aqg2q5YE64sWx0nVslspAvPyIIY2aAH7jnHx54WfOotHyirwvYwQ U+qO4pKF1sn/ueDiJvSGaeR4DZ/OxMXr8G2FUOtYF9DNd08d7qWq1v8Wsh9RAMScCjyZM IMe1VtveXoDh4lxKjE4d2v4eqy5jbWyvULv4/EzTAF/lkj2E/XQRgKaJFr5ndbguKFw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795023921; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=qCdNajnoDkwNBttx01uOTJjdTwDDe3nOzOPCrs2oRHs=; b=uX7gAbAI9Ohdy7jwNkL7m7gFFufCyZsUI3fCjEP3v7xyAcxiYn3X/Gx81YDEDZQFc2++ dYhIm/DhiXBsyLwtU8KjnJpmJhsx05cyZxhjzdvJ3XG1vO7JTu2kPNzd35ex6qRzWUujW ts3doek0Oi9n67TYKb+RwXhD14cH1BhUVQAtvZNliXFjXz7Wu05qAMUOQavAj8oAtCZe6 Le3xQaDBuaN8xcNLsPcpNbup5P24acprRBHngFBTs28Se7jh09ZTEo5JN026RmjMu23Nq Q0FcmX2I7PvBdhUKi9XEn4+JFgN2ilO1aaDT7L6GSaDN//T6jw4ostStNZzpS5cyc0w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rsYUEnTW; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D68AB606A32A; Wed, 18 Nov 2026 17:45:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=rsYUEnTW Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9CE31F000C4; Wed, 18 Nov 2026 17:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795023921; bh=qCdNajnoDkwNBttx01uOTJjdTwDDe3nOzOPCrs2oRHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rsYUEnTWziOeW/Jd9v5pSOk1b4pDh7g3+VcUC+kqQsyHfR6PmKmiPcHV/uuHB8hjY /7NJw051dhhgDvsYhjJ/giOf2QCEp/iLNrmwdD9Y3F/6xVEN30PlJYwKpnNp6plU7F OVY4FirHTddyAm85+CkDloKcCv/tywliombnyXPc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , James Clark , Namhyung Kim , Sasha Levin Subject: [PATCH 6.18 0541/2151] perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependencies Date: Wed, 18 Nov 2026 15:37:56 +0100 Message-ID: <20261118150141.702785156@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261118150121.603863898@linuxfoundation.org> References: <20261118150121.603863898@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ian Rogers [ Upstream commit ca016b6527e154013693722a2cdbec7c05fb6df7 ] errno.h isn't used in auxtrace.h so remove it and fix build failures caused by transitive dependencies through auxtrace.h on errno.h. Signed-off-by: Ian Rogers Reviewed-by: James Clark Signed-off-by: Namhyung Kim Stable-dep-of: 0824af00a8d2 ("perf topdown: Don't require config1==0 for a slots event") Signed-off-by: Sasha Levin --- tools/perf/arch/arm/annotate/instructions.c | 1 + tools/perf/arch/arm/util/auxtrace.c | 1 + tools/perf/arch/arm64/annotate/instructions.c | 1 + tools/perf/arch/arm64/util/arm-spe.c | 1 + tools/perf/arch/arm64/util/hisi-ptt.c | 1 + tools/perf/arch/powerpc/util/auxtrace.c | 2 +- tools/perf/arch/s390/util/auxtrace.c | 1 + tools/perf/arch/x86/tests/topdown.c | 1 + tools/perf/arch/x86/util/topdown.c | 1 + tools/perf/bench/evlist-open-close.c | 1 + tools/perf/bench/futex.c | 1 + tools/perf/bench/pmu-scan.c | 1 + tools/perf/bench/synthesize.c | 1 + tools/perf/builtin-mem.c | 1 + tools/perf/tests/hwmon_pmu.c | 1 + tools/perf/tests/parse-metric.c | 1 + tools/perf/tests/pfm.c | 1 + tools/perf/ui/hist.c | 1 + tools/perf/util/annotate-data.c | 2 +- tools/perf/util/auxtrace.h | 1 - tools/perf/util/bpf-filter.h | 2 ++ tools/perf/util/bpf-trace-summary.c | 1 + tools/perf/util/bpf_counter_cgroup.c | 1 + tools/perf/util/bpf_ftrace.c | 3 ++- tools/perf/util/bpf_map.c | 1 + tools/perf/util/cgroup.c | 1 + tools/perf/util/drm_pmu.c | 1 + tools/perf/util/evswitch.c | 1 + tools/perf/util/intel-tpebs.c | 1 + tools/perf/util/kvm-stat.h | 1 + tools/perf/util/mmap.c | 1 + tools/perf/util/pfm.c | 1 + tools/perf/util/powerpc-vpadtl.c | 1 + tools/perf/util/stat-shadow.c | 1 + 34 files changed, 35 insertions(+), 4 deletions(-) diff --git a/tools/perf/arch/arm/annotate/instructions.c b/tools/perf/arch/arm/annotate/instructions.c index cf91a43362b0e..5e667b0f55126 100644 --- a/tools/perf/arch/arm/annotate/instructions.c +++ b/tools/perf/arch/arm/annotate/instructions.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include #include #include #include diff --git a/tools/perf/arch/arm/util/auxtrace.c b/tools/perf/arch/arm/util/auxtrace.c index 3b8eca0ffb171..eb6404267f171 100644 --- a/tools/perf/arch/arm/util/auxtrace.c +++ b/tools/perf/arch/arm/util/auxtrace.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include diff --git a/tools/perf/arch/arm64/annotate/instructions.c b/tools/perf/arch/arm64/annotate/instructions.c index d465d093e7eb5..16cb62d40bd96 100644 --- a/tools/perf/arch/arm64/annotate/instructions.c +++ b/tools/perf/arch/arm64/annotate/instructions.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include #include #include #include diff --git a/tools/perf/arch/arm64/util/arm-spe.c b/tools/perf/arch/arm64/util/arm-spe.c index cac43cde7dbee..d5ec1408d0aec 100644 --- a/tools/perf/arch/arm64/util/arm-spe.c +++ b/tools/perf/arch/arm64/util/arm-spe.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "../../../util/cpumap.h" diff --git a/tools/perf/arch/arm64/util/hisi-ptt.c b/tools/perf/arch/arm64/util/hisi-ptt.c index eac9739c87e6c..fe457fd58c9e8 100644 --- a/tools/perf/arch/arm64/util/hisi-ptt.c +++ b/tools/perf/arch/arm64/util/hisi-ptt.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include // page_size diff --git a/tools/perf/arch/powerpc/util/auxtrace.c b/tools/perf/arch/powerpc/util/auxtrace.c index 57f2910c0b019..d0082eb276425 100644 --- a/tools/perf/arch/powerpc/util/auxtrace.c +++ b/tools/perf/arch/powerpc/util/auxtrace.c @@ -2,7 +2,7 @@ /* * VPA support */ - +#include #include #include #include diff --git a/tools/perf/arch/s390/util/auxtrace.c b/tools/perf/arch/s390/util/auxtrace.c index 5068baa3e092b..1a36761450661 100644 --- a/tools/perf/arch/s390/util/auxtrace.c +++ b/tools/perf/arch/s390/util/auxtrace.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/tools/perf/arch/x86/tests/topdown.c b/tools/perf/arch/x86/tests/topdown.c index 1eba3b4594ef2..3ee4e5e71be3b 100644 --- a/tools/perf/arch/x86/tests/topdown.c +++ b/tools/perf/arch/x86/tests/topdown.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include "arch-tests.h" #include "../util/topdown.h" #include "debug.h" diff --git a/tools/perf/arch/x86/util/topdown.c b/tools/perf/arch/x86/util/topdown.c index 0d01b662627a3..bafd285119d7a 100644 --- a/tools/perf/arch/x86/util/topdown.c +++ b/tools/perf/arch/x86/util/topdown.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include "util/evlist.h" #include "util/pmu.h" #include "util/pmus.h" diff --git a/tools/perf/bench/evlist-open-close.c b/tools/perf/bench/evlist-open-close.c index bfaf50e4e5193..faf9c34b4a5dc 100644 --- a/tools/perf/bench/evlist-open-close.c +++ b/tools/perf/bench/evlist-open-close.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include #include diff --git a/tools/perf/bench/futex.c b/tools/perf/bench/futex.c index 1481196a22f0c..1968c9d00b5bb 100644 --- a/tools/perf/bench/futex.c +++ b/tools/perf/bench/futex.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include #include #include #include diff --git a/tools/perf/bench/pmu-scan.c b/tools/perf/bench/pmu-scan.c index 9e4d36486f625..14a464ad8cea8 100644 --- a/tools/perf/bench/pmu-scan.c +++ b/tools/perf/bench/pmu-scan.c @@ -4,6 +4,7 @@ * * Copyright 2023 Google LLC. */ +#include #include #include "bench.h" #include "util/debug.h" diff --git a/tools/perf/bench/synthesize.c b/tools/perf/bench/synthesize.c index b3d493697675c..265d49a913d94 100644 --- a/tools/perf/bench/synthesize.c +++ b/tools/perf/bench/synthesize.c @@ -6,6 +6,7 @@ * * Copyright 2019 Google LLC. */ +#include #include #include "bench.h" #include "../util/debug.h" diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c index c6496adff3fea..d43500b92a7b9 100644 --- a/tools/perf/builtin-mem.c +++ b/tools/perf/builtin-mem.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include #include diff --git a/tools/perf/tests/hwmon_pmu.c b/tools/perf/tests/hwmon_pmu.c index 151f02701c8cc..4aa4aac94f09c 100644 --- a/tools/perf/tests/hwmon_pmu.c +++ b/tools/perf/tests/hwmon_pmu.c @@ -4,6 +4,7 @@ #include "hwmon_pmu.h" #include "parse-events.h" #include "tests.h" +#include #include #include #include diff --git a/tools/perf/tests/parse-metric.c b/tools/perf/tests/parse-metric.c index 66a5275917e22..9b1df1eb455a7 100644 --- a/tools/perf/tests/parse-metric.c +++ b/tools/perf/tests/parse-metric.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include #include #include #include diff --git a/tools/perf/tests/pfm.c b/tools/perf/tests/pfm.c index 2e38dfa34b6ce..fca4a86452df6 100644 --- a/tools/perf/tests/pfm.c +++ b/tools/perf/tests/pfm.c @@ -4,6 +4,7 @@ * * Copyright 2020 Google LLC. */ +#include #include "tests.h" #include "util/debug.h" #include "util/evlist.h" diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index b085eb0de8499..e58327595d37d 100644 --- a/tools/perf/ui/hist.c +++ b/tools/perf/ui/hist.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include #include diff --git a/tools/perf/util/annotate-data.c b/tools/perf/util/annotate-data.c index 903027a6fb7d3..687f381aeaec2 100644 --- a/tools/perf/util/annotate-data.c +++ b/tools/perf/util/annotate-data.c @@ -4,7 +4,7 @@ * * Written by Namhyung Kim */ - +#include #include #include #include diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h index 79ffdddab7ab4..ab826d4a58e02 100644 --- a/tools/perf/util/auxtrace.h +++ b/tools/perf/util/auxtrace.h @@ -7,7 +7,6 @@ #ifndef __PERF_AUXTRACE_H #define __PERF_AUXTRACE_H -#include #include // FILE #include #include diff --git a/tools/perf/util/bpf-filter.h b/tools/perf/util/bpf-filter.h index 122477f2de44b..818c554b91b28 100644 --- a/tools/perf/util/bpf-filter.h +++ b/tools/perf/util/bpf-filter.h @@ -36,6 +36,8 @@ int perf_bpf_filter__unpin(void); #else /* !HAVE_BPF_SKEL */ +#include + static inline int perf_bpf_filter__parse(struct list_head *expr_head __maybe_unused, const char *str __maybe_unused) { diff --git a/tools/perf/util/bpf-trace-summary.c b/tools/perf/util/bpf-trace-summary.c index 8dfe7e678941d..cf6e1e4402d52 100644 --- a/tools/perf/util/bpf-trace-summary.c +++ b/tools/perf/util/bpf-trace-summary.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0 */ +#include #include #include #include diff --git a/tools/perf/util/bpf_counter_cgroup.c b/tools/perf/util/bpf_counter_cgroup.c index 690be3ce3e114..8d701724a807c 100644 --- a/tools/perf/util/bpf_counter_cgroup.c +++ b/tools/perf/util/bpf_counter_cgroup.c @@ -4,6 +4,7 @@ /* Copyright (c) 2021 Google */ #include +#include #include #include #include diff --git a/tools/perf/util/bpf_ftrace.c b/tools/perf/util/bpf_ftrace.c index e61a3b20be0a0..c456d24efa308 100644 --- a/tools/perf/util/bpf_ftrace.c +++ b/tools/perf/util/bpf_ftrace.c @@ -1,6 +1,7 @@ -#include +#include #include #include +#include #include #include diff --git a/tools/perf/util/bpf_map.c b/tools/perf/util/bpf_map.c index 578f27d2d6b46..442f91b4e8e15 100644 --- a/tools/perf/util/bpf_map.c +++ b/tools/perf/util/bpf_map.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include diff --git a/tools/perf/util/cgroup.c b/tools/perf/util/cgroup.c index 0038d2ac647c4..1b5664d1481f5 100644 --- a/tools/perf/util/cgroup.c +++ b/tools/perf/util/cgroup.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/tools/perf/util/drm_pmu.c b/tools/perf/util/drm_pmu.c index 98d4d2b556d4e..b3052266d5993 100644 --- a/tools/perf/util/drm_pmu.c +++ b/tools/perf/util/drm_pmu.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/tools/perf/util/evswitch.c b/tools/perf/util/evswitch.c index 40cb56a9347da..d4c06a3f825a8 100644 --- a/tools/perf/util/evswitch.c +++ b/tools/perf/util/evswitch.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo +#include #include "evswitch.h" #include "evlist.h" diff --git a/tools/perf/util/intel-tpebs.c b/tools/perf/util/intel-tpebs.c index 21359155f2a0b..3c958d738ca6c 100644 --- a/tools/perf/util/intel-tpebs.c +++ b/tools/perf/util/intel-tpebs.c @@ -25,6 +25,7 @@ #include "stat.h" #include #include +#include #include #include diff --git a/tools/perf/util/kvm-stat.h b/tools/perf/util/kvm-stat.h index 53db3d56108bd..a356b839c2ee0 100644 --- a/tools/perf/util/kvm-stat.h +++ b/tools/perf/util/kvm-stat.h @@ -10,6 +10,7 @@ #include "symbol.h" #include "record.h" +#include #include #include diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c index fcc0939846830..d64aec6c7c843 100644 --- a/tools/perf/util/mmap.c +++ b/tools/perf/util/mmap.c @@ -7,6 +7,7 @@ */ #include +#include #include #include #include diff --git a/tools/perf/util/pfm.c b/tools/perf/util/pfm.c index e5b3a2a5ddef5..d9043f4afbe7b 100644 --- a/tools/perf/util/pfm.c +++ b/tools/perf/util/pfm.c @@ -15,6 +15,7 @@ #include "util/strbuf.h" #include "util/thread_map.h" +#include #include #include #include diff --git a/tools/perf/util/powerpc-vpadtl.c b/tools/perf/util/powerpc-vpadtl.c index eacc845ebda26..740fef005cf56 100644 --- a/tools/perf/util/powerpc-vpadtl.c +++ b/tools/perf/util/powerpc-vpadtl.c @@ -4,6 +4,7 @@ */ #include +#include #include #include "color.h" #include "evlist.h" diff --git a/tools/perf/util/stat-shadow.c b/tools/perf/util/stat-shadow.c index abaf6b579bfc2..0002e51194c2c 100644 --- a/tools/perf/util/stat-shadow.c +++ b/tools/perf/util/stat-shadow.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include #include "evsel.h" -- 2.53.0