Re: [PATCH bpf-next v2 0/5] samples: bpf: refactor kprobe tracing progs with libbpf

2020-05-19 Thread Daniel Borkmann
On 5/16/20 6:06 AM, Daniel T. Lee wrote: Currently, the kprobe BPF program attachment method for bpf_load is pretty outdated. The implementation of bpf_load "directly" controls and manages(create, delete) the kprobe events of DEBUGFS. On the other hand, using using the libbpf automatically manage

Re: [PATCH bpf-next v2 0/5] samples: bpf: refactor kprobe tracing progs with libbpf

2020-05-17 Thread Yonghong Song
On 5/15/20 9:06 PM, Daniel T. Lee wrote: Currently, the kprobe BPF program attachment method for bpf_load is pretty outdated. The implementation of bpf_load "directly" controls and manages(create, delete) the kprobe events of DEBUGFS. On the other hand, using using the libbpf automatically man

[PATCH bpf-next v2 0/5] samples: bpf: refactor kprobe tracing progs with libbpf

2020-05-15 Thread Daniel T. Lee
Currently, the kprobe BPF program attachment method for bpf_load is pretty outdated. The implementation of bpf_load "directly" controls and manages(create, delete) the kprobe events of DEBUGFS. On the other hand, using using the libbpf automatically manages the kprobe event. (under bpf_link interfa