Searched refs:sched_getcpu (Results  1 – 17 of 17) sorted by relevance
| /Linux-v6.6/tools/testing/selftests/powerpc/dscr/ | 
| D | dscr_sysfs_thread_test.c | 24 					sched_getcpu(), val, cur_dscr);  in test_thread_dscr() 30 					sched_getcpu(), val, cur_dscr_usr);  in test_thread_dscr()
  | 
| /Linux-v6.6/tools/build/feature/ | 
| D | test-sched_getcpu.c | 9 	return sched_getcpu();  in main()
  | 
| D | Makefile | 69          test-sched_getcpu.bin			\ 136 $(OUTPUT)test-sched_getcpu.bin:
  | 
| /Linux-v6.6/tools/testing/selftests/rseq/ | 
| D | basic_test.c | 30 			assert(sched_getcpu() == i);  in test_cpu_pointer()
  | 
| D | rseq.c | 220 	cpu = sched_getcpu();  in rseq_fallback_current_cpu()
  | 
| /Linux-v6.6/tools/perf/util/ | 
| D | cloexec.c | 30 	cpu = sched_getcpu();  in perf_flag_probe()
  | 
| D | util.h | 56 int sched_getcpu(void);
  | 
| D | util.c | 541 int sched_getcpu(void)  in sched_getcpu()  function
  | 
| /Linux-v6.6/tools/power/cpupower/utils/idle_monitor/ | 
| D | cpuidle_sysfs.c | 147 	this_cpu = sched_getcpu();  in cpuidle_register()
  | 
| /Linux-v6.6/samples/bpf/ | 
| D | cpustat_user.c | 116 	rcpu = sched_getcpu();  in cpu_stat_inject_cpu_idle_event()
  | 
| /Linux-v6.6/tools/power/cpupower/utils/ | 
| D | cpupower.c | 208 	base_cpu = sched_getcpu();  in main()
  | 
| /Linux-v6.6/tools/build/ | 
| D | Makefile.feature | 68         sched_getcpu			\
  | 
| /Linux-v6.6/tools/power/x86/x86_energy_perf_policy/ | 
| D | x86_energy_perf_policy.c | 1376 	base_cpu = sched_getcpu();  in set_base_cpu()
  | 
| /Linux-v6.6/tools/perf/ | 
| D | builtin-record.c | 1476 			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() 2281 	pr_debug("threads[%d]: started on cpu%d\n", thread->tid, sched_getcpu());  in record__start_threads()
  | 
| D | Makefile.config | 503 ifeq ($(feature-sched_getcpu), 1)
  | 
| /Linux-v6.6/tools/perf/bench/ | 
| D | numa.c | 910 	cpu = sched_getcpu();  in update_curr_cpu()
  | 
| /Linux-v6.6/tools/power/x86/turbostat/ | 
| D | turbostat.c | 3067 	base_cpu = sched_getcpu();  in set_max_cpu_num() 5545 	if (get_msr(sched_getcpu(), MSR_IA32_UCODE_REV, &ucode_patch))  in process_cpuid() 6109 	base_cpu = sched_getcpu();  in set_base_cpu()
  |