Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dcpustat_user.c111 cpu_set_t original_cpumask; in cpu_stat_inject_cpu_idle_event() local
122 sched_getaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()
131 if (!CPU_ISSET(i, &original_cpumask)) in cpu_stat_inject_cpu_idle_event()
141 sched_setaffinity(0, sizeof(original_cpumask), &original_cpumask); in cpu_stat_inject_cpu_idle_event()