Re: [PATCH v7 bpf-next 0/5] libbpf: add perf buffer abstraction and API

2019-07-08 Thread Daniel Borkmann
On 07/06/2019 08:06 PM, Andrii Nakryiko wrote: > This patchset adds a high-level API for setting up and polling perf buffers > associated with BPF_MAP_TYPE_PERF_EVENT_ARRAY map. Details of APIs are > described in corresponding commit. > > Patch #1 adds a set of APIs to set up and work with perf bu

[PATCH v7 bpf-next 0/5] libbpf: add perf buffer abstraction and API

2019-07-06 Thread Andrii Nakryiko
This patchset adds a high-level API for setting up and polling perf buffers associated with BPF_MAP_TYPE_PERF_EVENT_ARRAY map. Details of APIs are described in corresponding commit. Patch #1 adds a set of APIs to set up and work with perf buffer. Patch #2 enhances libbpf to support auto-setting PE