Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Daffinity.c32 a->sched_cpus = bitmap_alloc(cpu_set_size * 8); in affinity__setup()
33 if (!a->sched_cpus) { in affinity__setup()
37 bitmap_zero((unsigned long *)a->sched_cpus, cpu_set_size); in affinity__setup()
55 set_bit(cpu, a->sched_cpus); in affinity__set()
61 sched_setaffinity(0, cpu_set_size, (cpu_set_t *)a->sched_cpus); in affinity__set()
62 clear_bit(cpu, a->sched_cpus); in affinity__set()
71 zfree(&a->sched_cpus); in affinity__cleanup()
Daffinity.h9 unsigned long *sched_cpus; member