Re: [PATCH v2 bpf-next 0/7] libbpf: add tracing attach APIs

2019-06-21 Thread Stanislav Fomichev
On 06/20, Andrii Nakryiko wrote: > This patchset adds the following APIs to allow attaching BPF programs to > tracing entities: > - bpf_program__attach_perf_event for attaching to any opened perf event FD, > allowing users full control; > - bpf_program__attach_kprobe for attaching to kernel probe

[PATCH v2 bpf-next 0/7] libbpf: add tracing attach APIs

2019-06-20 Thread Andrii Nakryiko
This patchset adds the following APIs to allow attaching BPF programs to tracing entities: - bpf_program__attach_perf_event for attaching to any opened perf event FD, allowing users full control; - bpf_program__attach_kprobe for attaching to kernel probes (both entry and return probes); - bpf_p