diff options
author | Nick Desaulniers <[email protected]> | 2020-11-21 22:17:01 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-11-22 10:48:22 -0800 |
commit | bc2dc4406c463174613047d8b7946e12c8808cda (patch) | |
tree | 7d76884619669048efc75111ebf32b8d88547268 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 450677dcb0cce5cb751538360b7196c28b733f3e (diff) |
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.
Fixes: commit 1f7a44f63e6c ("compiler-clang: add build check for clang 10.0.1")
Reported-by: Chen Yu <[email protected]>
Reported-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Acked-by: Jarkko Sakkinen <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: Nathan Chancellor <[email protected]>
Acked-by: Miguel Ojeda <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions