aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorHechao Li <hechaol@fb.com>2019-06-10 17:56:50 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-11 10:36:02 +0200
commit6446b3155521aab37f5a2b99ac264803ea7dced8 (patch)
tree76c48512b43d492676d778e6b1d18fe1bef58b1c /tools/lib/bpf/libbpf.map
parentselftests/bpf : clean up feature/ when make clean (diff)
downloadlinux-dev-6446b3155521aab37f5a2b99ac264803ea7dced8.tar.xz
linux-dev-6446b3155521aab37f5a2b99ac264803ea7dced8.zip
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>
Diffstat (limited to '')
-rw-r--r--tools/lib/bpf/libbpf.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index 46dcda89df21..2c6d835620d2 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -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;