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

2019-07-06 Thread Yonghong Song
On 7/5/19 11:02 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 buff

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

2019-07-05 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