Home
last modified time | relevance | path

Searched refs:sched_getcpu (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_thread_test.c24 sched_getcpu(), val, cur_dscr); in test_thread_dscr()
30 sched_getcpu(), val, cur_dscr_usr); in test_thread_dscr()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_thread_test.c24 sched_getcpu(), val, cur_dscr); in test_thread_dscr()
30 sched_getcpu(), val, cur_dscr_usr); in test_thread_dscr()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcloexec.c4 #include "util.h" // for sched_getcpu()
16 int __weak sched_getcpu(void) in sched_getcpu() function
43 cpu = sched_getcpu(); in perf_flag_probe()
H A Dutil.h45 int sched_getcpu(void);
/kernel/linux/linux-5.10/tools/build/feature/
H A Dtest-sched_getcpu.c9 return sched_getcpu(); in main()
H A DMakefile63 test-sched_getcpu.bin \
127 $(OUTPUT)test-sched_getcpu.bin:
/kernel/linux/linux-6.6/tools/build/feature/
H A Dtest-sched_getcpu.c9 return sched_getcpu(); in main()
H A DMakefile69 test-sched_getcpu.bin \
136 $(OUTPUT)test-sched_getcpu.bin:
/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
H A Dbasic_test.c28 assert(sched_getcpu() == i); in test_cpu_pointer()
H A Drseq.c162 cpu = sched_getcpu(); in rseq_fallback_current_cpu()
164 perror("sched_getcpu()"); in rseq_fallback_current_cpu()
/kernel/linux/linux-6.6/tools/testing/selftests/rseq/
H A Dbasic_test.c30 assert(sched_getcpu() == i); in test_cpu_pointer()
H A Drseq.c220 cpu = sched_getcpu(); in rseq_fallback_current_cpu()
222 perror("sched_getcpu()"); in rseq_fallback_current_cpu()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dcloexec.c4 #include "util.h" // for sched_getcpu()
30 cpu = sched_getcpu(); in perf_flag_probe()
H A Dutil.h56 int sched_getcpu(void);
H A Dutil.c541 int sched_getcpu(void) in sched_getcpu() function
/kernel/linux/linux-5.10/samples/bpf/
H A Dcpustat_user.c117 rcpu = sched_getcpu(); in cpu_stat_inject_cpu_idle_event()
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
H A Dcpupower.c203 base_cpu = sched_getcpu(); in main()
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c147 this_cpu = sched_getcpu(); in cpuidle_register()
/kernel/linux/linux-6.6/samples/bpf/
H A Dcpustat_user.c116 rcpu = sched_getcpu(); in cpu_stat_inject_cpu_idle_event()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/
H A Dcpupower.c208 base_cpu = sched_getcpu(); in main()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c147 this_cpu = sched_getcpu(); in cpuidle_register()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-record.c1476 pr_debug("threads[%d]: running on cpu%d: ", thread->tid, sched_getcpu()); in record__adjust_affinity()
1641 pr_debug("threads[%d]: started on cpu%d\n", thread->tid, sched_getcpu()); in record__thread()
2255 pr_debug("threads[%d]: started on cpu%d\n", thread->tid, sched_getcpu()); in record__start_threads()
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c1287 base_cpu = sched_getcpu(); in set_base_cpu()
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c1376 base_cpu = sched_getcpu(); in set_base_cpu()
/kernel/linux/linux-6.6/tools/power/x86/turbostat/
H A Dturbostat.c3067 base_cpu = sched_getcpu(); in set_max_cpu_num()
5545 if (get_msr(sched_getcpu(), MSR_IA32_UCODE_REV, &ucode_patch)) in process_cpuid()
6110 base_cpu = sched_getcpu(); in set_base_cpu()

Completed in 30 milliseconds

12