diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2022-12-14 10:10:10 -0600 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2022-12-14 10:10:10 -0600 |
commit | 01c1b8b92901013d852ee5cbee82e08afb893921 (patch) | |
tree | 7078ef6ef2a8b4b65965d15ce76c4ba8468246de | |
parent | a61c33869558e4000bfd9478bc1a9842ed59b3f2 (diff) | |
download | kernel-01c1b8b92901013d852ee5cbee82e08afb893921.tar.gz kernel-01c1b8b92901013d852ee5cbee82e08afb893921.tar.xz kernel-01c1b8b92901013d852ee5cbee82e08afb893921.zip |
Add the libbpf revert for F36 as pahole it too old
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rw-r--r-- | patch-6.0-redhat.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patch-6.0-redhat.patch b/patch-6.0-redhat.patch index bb3cc1374..bd91146c8 100644 --- a/patch-6.0-redhat.patch +++ b/patch-6.0-redhat.patch @@ -2160,3 +2160,30 @@ index 4b95de24bc8d..10047790e96e 100644 #ifdef CONFIG_PERF_EVENTS int security_perf_event_open(struct perf_event_attr *attr, int type) { +From 90c4bd0059367922f88768784bfb7c5ec1bc846c Mon Sep 17 00:00:00 2001 +From: "Justin M. Forbes" <jforbes@fedoraproject.org> +Date: Thu, 3 Nov 2022 11:34:03 -0500 +Subject: [PATCH] Revert "disable enum64 BTF in fedora rawhide" + +This option is not supported by older pahole versions. + +This reverts commit 7ab8e0d8b46b7f768e37f8ff39ccae2ecc897396. +--- + scripts/pahole-flags.sh | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/scripts/pahole-flags.sh b/scripts/pahole-flags.sh +index 81c8e082ec57..0d99ef17e4a5 100755 +--- a/scripts/pahole-flags.sh ++++ b/scripts/pahole-flags.sh +@@ -20,7 +20,4 @@ if [ "${pahole_ver}" -ge "122" ]; then + extra_paholeopt="${extra_paholeopt} -j" + fi + +-# temporary workaround to disable enum64 +-extra_paholeopt="${extra_paholeopt} --skip_encoding_btf_enum64" +- + echo ${extra_paholeopt} +-- +2.37.3 + |