Re: [PATCH v3 bpf-next 1/2] bpf: add a new API libbpf_num_possible_cpus()
On Thu, Jun 6, 2019 at 1:17 PM Hechao Li wrote: > > Adding a new API libbpf_num_possible_cpus() that helps user with > per-CPU map operations. > > Signed-off-by: Hechao Li > --- > tools/lib/bpf/libbpf.c | 57 > tools/lib/bpf/libbpf.h | 16 +++
[PATCH v3 bpf-next 1/2] bpf: add a new API libbpf_num_possible_cpus()
Adding a new API libbpf_num_possible_cpus() that helps user with per-CPU map operations. Signed-off-by: Hechao Li --- tools/lib/bpf/libbpf.c | 57 tools/lib/bpf/libbpf.h | 16 +++ tools/lib/bpf/libbpf.map | 1 + 3 files changed, 74 insertions