]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: do not use pahole if clang/llvm can generate BTF sections
authorYonghong Song <yhs@fb.com>
Mon, 19 Nov 2018 23:29:17 +0000 (15:29 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 20 Nov 2018 18:54:39 +0000 (10:54 -0800)
commite64d70e005fb70bac5d41e865f25a0ba52745ad8
tree7d5c7b5ff4e40aada9e845f577315c5d5fb37e6f
parent4050466616733f17a2615c6b2638ec7d36921665
tools/bpf: do not use pahole if clang/llvm can generate BTF sections

Add additional checks in tools/testing/selftests/bpf and
samples/bpf such that if clang/llvm compiler can generate
BTF sections, do not use pahole.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/Makefile
tools/testing/selftests/bpf/Makefile