* [merged] compiler-clang-remove-version-check-for-bpf-tracing.patch removed from -mm tree
@ 2020-11-28 2:08 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-11-28 2:08 UTC (permalink / raw)
To: jarkko, mm-commits, natechancellor, ndesaulniers, ojeda,
songliubraving, yu.chen.surf
The patch titled
Subject: compiler-clang: remove version check for BPF Tracing
has been removed from the -mm tree. Its filename was
compiler-clang-remove-version-check-for-bpf-tracing.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Nick Desaulniers <ndesaulniers@google.com>
Subject: compiler-clang: remove version check for BPF Tracing
bpftrace parses the kernel headers and uses Clang under the hood. Remove
the version check when __BPF_TRACING__ is defined (as bpftrace does) so
that this tool can continue to parse kernel headers, even with older clang
sources.
Link: https://lkml.kernel.org/r/20201104191052.390657-1-ndesaulniers@google.com
Fixes: commit 1f7a44f63e6c ("compiler-clang: add build check for clang 10.0.1")
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reported-by: Chen Yu <yu.chen.surf@gmail.com>
Reported-by: Jarkko Sakkinen <jarkko@kernel.org>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/compiler-clang.h | 2 ++
1 file changed, 2 insertions(+)
--- a/include/linux/compiler-clang.h~compiler-clang-remove-version-check-for-bpf-tracing
+++ a/include/linux/compiler-clang.h
@@ -8,8 +8,10 @@
+ __clang_patchlevel__)
#if CLANG_VERSION < 100001
+#ifndef __BPF_TRACING__
# error Sorry, your version of Clang is too old - please use 10.0.1 or newer.
#endif
+#endif
/* Compiler specific definitions for Clang compiler */
_
Patches currently in -mm which might be from ndesaulniers@google.com are
lib-string-remove-unnecessary-undefs.patch
gcov-remove-support-for-gcc-49.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-28 2:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-28 2:08 [merged] compiler-clang-remove-version-check-for-bpf-tracing.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).