Re: [PATCH bpf-next 3/3] libbpf: auto-generate list of BPF helper definitions

2019-10-05 Thread Andrii Nakryiko
On Sat, Oct 5, 2019 at 6:01 PM Alexei Starovoitov wrote: > > On 10/5/19 11:24 AM, Andrii Nakryiko wrote: > > On Sat, Oct 5, 2019 at 10:10 AM Alexei Starovoitov wrote: > >> > >> On 10/5/19 12:59 AM, Andrii Nakryiko wrote: > >>> Get rid of list of BPF helpers in bpf_helpers.h (irony...) and > >>> a

Re: [PATCH bpf-next 3/3] libbpf: auto-generate list of BPF helper definitions

2019-10-05 Thread Alexei Starovoitov
On 10/5/19 11:24 AM, Andrii Nakryiko wrote: > On Sat, Oct 5, 2019 at 10:10 AM Alexei Starovoitov wrote: >> >> On 10/5/19 12:59 AM, Andrii Nakryiko wrote: >>> Get rid of list of BPF helpers in bpf_helpers.h (irony...) and >>> auto-generate it into bpf_helpers_defs.h, which is now included from >>>

Re: [PATCH bpf-next 3/3] libbpf: auto-generate list of BPF helper definitions

2019-10-05 Thread Andrii Nakryiko
On Sat, Oct 5, 2019 at 10:10 AM Alexei Starovoitov wrote: > > On 10/5/19 12:59 AM, Andrii Nakryiko wrote: > > Get rid of list of BPF helpers in bpf_helpers.h (irony...) and > > auto-generate it into bpf_helpers_defs.h, which is now included from > > bpf_helpers.h. > > > > Suggested-by: Alexei Star

Re: [PATCH bpf-next 3/3] libbpf: auto-generate list of BPF helper definitions

2019-10-05 Thread Alexei Starovoitov
On 10/5/19 12:59 AM, Andrii Nakryiko wrote: > Get rid of list of BPF helpers in bpf_helpers.h (irony...) and > auto-generate it into bpf_helpers_defs.h, which is now included from > bpf_helpers.h. > > Suggested-by: Alexei Starovoitov > Signed-off-by: Andrii Nakryiko > --- > tools/lib/bpf/Makefil

[PATCH bpf-next 3/3] libbpf: auto-generate list of BPF helper definitions

2019-10-05 Thread Andrii Nakryiko
Get rid of list of BPF helpers in bpf_helpers.h (irony...) and auto-generate it into bpf_helpers_defs.h, which is now included from bpf_helpers.h. Suggested-by: Alexei Starovoitov Signed-off-by: Andrii Nakryiko --- tools/lib/bpf/Makefile |8 +- tools/lib/bpf/bpf_helpers.h |