Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-06 Thread Jarkko Sakkinen
On Fri, Nov 06, 2020 at 10:52:50AM -0800, Nick Desaulniers wrote: > On Thu, Nov 5, 2020 at 8:16 PM Alexei Starovoitov > wrote: > > > > I can take it through the bpf tree if no one objects. > > Doesn't matter to me. You'll need to coordinate with Andrew though, > since I got the email that this wa

Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-05 Thread Alexei Starovoitov
On Wed, Nov 4, 2020 at 11:11 AM Nick Desaulniers wrote: > > 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. > >

Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-04 Thread Miguel Ojeda
On Wed, Nov 4, 2020 at 8:11 PM Nick Desaulniers wrote: > > 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. Ack

Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-04 Thread Nathan Chancellor
On Wed, Nov 04, 2020 at 11:10:51AM -0800, Nick Desaulniers wrote: > 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 sourc

Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-04 Thread Andrew Morton
On Wed, 4 Nov 2020 11:10:51 -0800 Nick Desaulniers wrote: > 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.

Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-04 Thread Song Liu
> On Nov 4, 2020, at 12:33 PM, Jarkko Sakkinen wrote: > > On Wed, Nov 04, 2020 at 11:10:51AM -0800, Nick Desaulniers wrote: >> 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 c

Re: [PATCH] compiler-clang: remove version check for BPF Tracing

2020-11-04 Thread Jarkko Sakkinen
On Wed, Nov 04, 2020 at 11:10:51AM -0800, Nick Desaulniers wrote: > 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 sourc