Re: [PATCH v3 bpf-next 5/9] libbpf: add tracepoint attach API

2019-06-28 Thread Song Liu
On Fri, Jun 28, 2019 at 12:50 PM Song Liu wrote: > > On Thu, Jun 27, 2019 at 10:53 PM Andrii Nakryiko wrote: > > > > Allow attaching BPF programs to kernel tracepoint BPF hooks specified by > > category and name. > > > > Signed-off-by: Andrii Nakryiko Acked-by: Song Liu > > --- > > tools/lib

Re: [PATCH v3 bpf-next 5/9] libbpf: add tracepoint attach API

2019-06-28 Thread Song Liu
On Thu, Jun 27, 2019 at 10:53 PM Andrii Nakryiko wrote: > > Allow attaching BPF programs to kernel tracepoint BPF hooks specified by > category and name. > > Signed-off-by: Andrii Nakryiko > --- > tools/lib/bpf/libbpf.c | 78 > tools/lib/bpf/libbpf.h

[PATCH v3 bpf-next 5/9] libbpf: add tracepoint attach API

2019-06-27 Thread Andrii Nakryiko
Allow attaching BPF programs to kernel tracepoint BPF hooks specified by category and name. Signed-off-by: Andrii Nakryiko --- tools/lib/bpf/libbpf.c | 78 tools/lib/bpf/libbpf.h | 4 +++ tools/lib/bpf/libbpf.map | 1 + 3 files changed, 83 insertion