diff options
author | Hechao Li <hechaol@fb.com> | 2019-06-11 02:56:50 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-11 10:36:02 +0200 |
commit | 6446b3155521aab37f5a2b99ac264803ea7dced8 (patch) | |
tree | 76c48512b43d492676d778e6b1d18fe1bef58b1c /tools/lib/bpf/libbpf.map | |
parent | selftests/bpf : clean up feature/ when make clean (diff) | |
download | linux-6446b3155521aab37f5a2b99ac264803ea7dced8.tar.xz linux-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 'tools/lib/bpf/libbpf.map')
-rw-r--r-- | tools/lib/bpf/libbpf.map | 1 |
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; |