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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.2 KB |
Makefile | -rw-r--r-- | 492 bytes |
actions.c | -rw-r--r-- | 38.4 KB |
conntrack.c | -rw-r--r-- | 60.2 KB |
conntrack.h | -rw-r--r-- | 2.7 KB |
datapath.c | -rw-r--r-- | 64.4 KB |
datapath.h | -rw-r--r-- | 7.5 KB |
dp_notify.c | -rw-r--r-- | 2.0 KB |
flow.c | -rw-r--r-- | 23.9 KB |
flow.h | -rw-r--r-- | 7.9 KB |
flow_netlink.c | -rw-r--r-- | 95.5 KB |
flow_netlink.h | -rw-r--r-- | 2.4 KB |
flow_table.c | -rw-r--r-- | 29.5 KB |
flow_table.h | -rw-r--r-- | 3.1 KB |
meter.c | -rw-r--r-- | 18.0 KB |
meter.h | -rw-r--r-- | 1.3 KB |
vport-geneve.c | -rw-r--r-- | 2.9 KB |
vport-gre.c | -rw-r--r-- | 2.1 KB |
vport-internal_dev.c | -rw-r--r-- | 6.2 KB |
vport-internal_dev.h | -rw-r--r-- | 442 bytes |
vport-netdev.c | -rw-r--r-- | 4.7 KB |
vport-netdev.h | -rw-r--r-- | 539 bytes |
vport-vxlan.c | -rw-r--r-- | 3.7 KB |
vport.c | -rw-r--r-- | 12.4 KB |
vport.h | -rw-r--r-- | 5.6 KB |
Computing file changes ...