Home
last modified time | relevance | path

Searched refs:fcpu (Results 1 – 2 of 2) sorted by relevance

/tools/lib/bpf/
Dlibbpf_internal.h404 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz);
Dlibbpf.c13709 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz) in parse_cpu_mask_file() argument
13714 fd = open(fcpu, O_RDONLY | O_CLOEXEC); in parse_cpu_mask_file()
13717 pr_warn("Failed to open cpu mask file %s: %d\n", fcpu, err); in parse_cpu_mask_file()
13724 pr_warn("Failed to read cpu mask from %s: %d\n", fcpu, err); in parse_cpu_mask_file()
13728 pr_warn("CPU mask is too big in file %s\n", fcpu); in parse_cpu_mask_file()
13738 static const char *fcpu = "/sys/devices/system/cpu/possible"; in libbpf_num_possible_cpus() local
13747 err = parse_cpu_mask_file(fcpu, &mask, &n); in libbpf_num_possible_cpus()