Searched refs:fcpu (Results 1 – 2 of 2) sorted by relevance
/tools/lib/bpf/ |
D | libbpf_internal.h | 67 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz);
|
D | libbpf.c | 5966 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz) in parse_cpu_mask_file() argument 5971 fd = open(fcpu, O_RDONLY); in parse_cpu_mask_file() 5974 pr_warning("Failed to open cpu mask file %s: %d\n", fcpu, err); in parse_cpu_mask_file() 5981 pr_warning("Failed to read cpu mask from %s: %d\n", fcpu, err); in parse_cpu_mask_file() 5985 pr_warning("CPU mask is too big in file %s\n", fcpu); in parse_cpu_mask_file() 5995 static const char *fcpu = "/sys/devices/system/cpu/possible"; in libbpf_num_possible_cpus() local 6004 err = parse_cpu_mask_file(fcpu, &mask, &n); in libbpf_num_possible_cpus()
|