Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Daffinity.c32 a->sched_cpus = bitmap_zalloc(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()
61 __set_bit(cpu, a->sched_cpus); in affinity__set()
67 sched_setaffinity(0, cpu_set_size, (cpu_set_t *)a->sched_cpus); in affinity__set()
68 __clear_bit(cpu, a->sched_cpus); in affinity__set()
77 zfree(&a->sched_cpus); in __affinity__cleanup()
H A Daffinity.h9 unsigned long *sched_cpus; member