Skip to content
Commit 4c587c19 authored by Hechao Li's avatar Hechao Li Committed by Daniel Borkmann
Browse files

bpf: use libbpf_num_possible_cpus internally



Use the newly added bpf_num_possible_cpus() in bpftool and selftests
and remove duplicate implementations.

Signed-off-by: default avatarHechao Li <hechaol@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent ebb88607
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment