Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dpyperf.h204 uint64_t pthread_self; in __on_event() local
205 bpf_probe_read_user(&pthread_self, sizeof(pthread_self), in __on_event()
212 event->pthread_match = pthread_created == pthread_self; in __on_event()
/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c473 ctx.main = pthread_self(); in TEST()
516 ctx.main = pthread_self(); in TEST()
563 ctx.main = pthread_self(); in TEST()
612 ctx.main = pthread_self(); in TEST()
657 ctx.main = pthread_self(); in TEST()
700 ctx.main = pthread_self(); in TEST()
747 ctx.main = pthread_self(); in TEST()
796 ctx.main = pthread_self(); in TEST()
1201 ctx.main = pthread_self(); in TEST()
1253 ctx.main = pthread_self(); in TEST()
[all …]
/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c47 srand(pthread_self()); in preempt_fpu_c()
Dvmx_preempt.c47 srand(pthread_self()); in preempt_vmx_c()
Dfpu_signal.c66 srand(pthread_self()); in signal_fpu_c()
Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c215 if (pthread_self() != main_thread) in sig_action_SIGUSR1()
228 if (pthread_self() != main_thread) in sig_action()
315 if (cpu_threads[i] == pthread_self()) in fake_cont_thread()
329 if (cpu_threads[i] == pthread_self()) in cont_thread()
550 main_thread = pthread_self(); in main()
/tools/testing/selftests/bpf/prog_tests/
Dperf_event_stackmap.c85 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
Dperf_branches.c83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
Dget_stack_raw_tp.c119 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c87 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
Dtest_progs.c119 err = pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in reset_affinity()
/tools/virtio/ringtest/
Dmain.c92 self = pthread_self(); in set_affinity()
/tools/testing/selftests/kvm/
Dsteal_time.c292 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c1250 thread = pthread_self(); in acpi_os_get_thread_id()
/tools/io_uring/
Dio_uring-bench.c286 srand48_r(pthread_self(), &s->rand); in submitter_fn()
/tools/perf/
Dbuiltin-record.c1532 rec->thread_id = pthread_self(); in record__setup_sb_evlist()