Re: [Potential Spoof] [PATCH bpf-next 2/2] selftests/bpf: remove obsolete pahole/BTF support detection

2019-10-11 Thread Daniel Borkmann
On Fri, Oct 11, 2019 at 10:28:39AM -0700, Andrii Nakryiko wrote: > On Fri, Oct 11, 2019 at 9:21 AM Martin Lau wrote: > > On Thu, Oct 10, 2019 at 08:13:18PM -0700, Andrii Nakryiko wrote: > > > Given lots of selftests won't work without recent enough Clang/LLVM that > > > fully supports BTF, there i

Re: [Potential Spoof] [PATCH bpf-next 2/2] selftests/bpf: remove obsolete pahole/BTF support detection

2019-10-11 Thread Andrii Nakryiko
On Fri, Oct 11, 2019 at 9:21 AM Martin Lau wrote: > > On Thu, Oct 10, 2019 at 08:13:18PM -0700, Andrii Nakryiko wrote: > > Given lots of selftests won't work without recent enough Clang/LLVM that > > fully supports BTF, there is no point in maintaining outdated BTF > > support detection and fall-b

Re: [Potential Spoof] [PATCH bpf-next 2/2] selftests/bpf: remove obsolete pahole/BTF support detection

2019-10-11 Thread Martin Lau
On Thu, Oct 10, 2019 at 08:13:18PM -0700, Andrii Nakryiko wrote: > Given lots of selftests won't work without recent enough Clang/LLVM that > fully supports BTF, there is no point in maintaining outdated BTF > support detection and fall-back to pahole logic. Just assume we have > everything we need

[PATCH bpf-next 2/2] selftests/bpf: remove obsolete pahole/BTF support detection

2019-10-10 Thread Andrii Nakryiko
Given lots of selftests won't work without recent enough Clang/LLVM that fully supports BTF, there is no point in maintaining outdated BTF support detection and fall-back to pahole logic. Just assume we have everything we need. Signed-off-by: Andrii Nakryiko --- tools/testing/selftests/bpf/Makef