Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf: Use sysconf to simplify libbpf_num_possible_cpus
Simplify libbpf_num_possible_cpus by using sysconf(_SC_NPROCESSORS_CONF) instead of parsing a file. This patch is a part ([0]) of libbpf-1.0 milestone. [0] Closes: libbpf/libbpf#383 Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
- Loading branch information