mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-31 05:39:06 +08:00
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 <hechaol@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
committed by
Andrii Nakryiko
parent
4f260bccf5
commit
49967c1f5a
@@ -172,4 +172,5 @@ LIBBPF_0.0.4 {
|
||||
btf_dump__new;
|
||||
btf__parse_elf;
|
||||
bpf_object__load_xattr;
|
||||
libbpf_num_possible_cpus;
|
||||
} LIBBPF_0.0.3;
|
||||
|
||||
Reference in New Issue
Block a user