Revision bc2dc4406c463174613047d8b7946e12c8808cda authored by Nick Desaulniers on 22 November 2020, 06:17:01 UTC, committed by Linus Torvalds on 22 November 2020, 18:48:22 UTC
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.

Fixes: commit 1f7a44f63e6c ("compiler-clang: add build check for clang 10.0.1")
Reported-by: Chen Yu <yu.chen.surf@gmail.com>
Reported-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Acked-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>
Link: https://lkml.kernel.org/r/20201104191052.390657-1-ndesaulniers@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 450677d
History
File Mode Size
Makefile -rw-r--r-- 330 bytes
bitset.c -rw-r--r-- 22.2 KB
bitset.h -rw-r--r-- 1.5 KB
cabletest.c -rw-r--r-- 9.6 KB
channels.c -rw-r--r-- 6.8 KB
coalesce.c -rw-r--r-- 12.7 KB
common.c -rw-r--r-- 15.3 KB
common.h -rw-r--r-- 1.6 KB
debug.c -rw-r--r-- 3.3 KB
eee.c -rw-r--r-- 5.0 KB
features.c -rw-r--r-- 8.8 KB
ioctl.c -rw-r--r-- 79.6 KB
linkinfo.c -rw-r--r-- 4.3 KB
linkmodes.c -rw-r--r-- 13.7 KB
linkstate.c -rw-r--r-- 4.4 KB
netlink.c -rw-r--r-- 26.3 KB
netlink.h -rw-r--r-- 15.5 KB
pause.c -rw-r--r-- 5.0 KB
privflags.c -rw-r--r-- 5.4 KB
rings.c -rw-r--r-- 5.2 KB
strset.c -rw-r--r-- 11.2 KB
tsinfo.c -rw-r--r-- 3.7 KB
tunnels.c -rw-r--r-- 7.0 KB
wol.c -rw-r--r-- 4.3 KB

back to top