Home
last modified time | relevance | path

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

12

/tools/perf/tests/workloads/
A Dnoploop.c20 pthread_setname_np(pthread_self(), "perf-noploop"); in noploop()
/tools/testing/selftests/bpf/progs/
A Dpyperf.h257 uint64_t pthread_self; local
258 bpf_probe_read_user(&pthread_self, sizeof(pthread_self),
265 event->pthread_match = pthread_created == pthread_self;
/tools/testing/selftests/filesystems/epoll/
A Depoll_wakeup_test.c488 ctx.main = pthread_self(); in TEST()
531 ctx.main = pthread_self(); in TEST()
578 ctx.main = pthread_self(); in TEST()
627 ctx.main = pthread_self(); in TEST()
672 ctx.main = pthread_self(); in TEST()
715 ctx.main = pthread_self(); in TEST()
762 ctx.main = pthread_self(); in TEST()
811 ctx.main = pthread_self(); in TEST()
1216 ctx.main = pthread_self(); in TEST()
1268 ctx.main = pthread_self(); in TEST()
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dfree_timer.c49 pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in overwrite_timer_fn()
88 pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in start_timer_fn()
A Dtimer_lockup.c31 ASSERT_OK(pthread_setaffinity_np(pthread_self(), sizeof(cpuset), in timer_lockup_thread()
A Dperf_event_stackmap.c86 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
A Dperf_link.c22 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in burn_cpu()
A Dpreempted_bpf_ma_op.c30 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in run_alloc_prog()
A Darena_spin_lock.c35 ASSERT_OK(pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset), "cpu affinity"); in spin_lock_thread()
A Dhtab_update.c57 pthread_setaffinity_np(pthread_self(), sizeof(cpus), &cpus); in htab_update_thread()
A Dget_stack_raw_tp.c121 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
A Dperf_branches.c83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
A Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
/tools/testing/selftests/powerpc/math/
A Dfpu_preempt.c44 srand(pthread_self()); in preempt_fpu_c()
A Dvmx_preempt.c47 srand(pthread_self()); in preempt_vmx_c()
A Dfpu_signal.c64 srand(pthread_self()); in signal_fpu_c()
A Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
A Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/tools/testing/selftests/mqueue/
A 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()
330 if (cpu_threads[i] == pthread_self()) in cont_thread()
552 main_thread = pthread_self(); in main()
/tools/testing/selftests/bpf/
A Dtest_tcpnotify_user.c88 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/tools/tracing/rtla/src/
A Dtimerlat_u.c167 pthread_setname_np(pthread_self(), proc_name); in timerlat_u_dispatcher()
/tools/testing/selftests/pidfd/
A Dpidfd_test.c50 signal_received = pthread_self(); in set_signal_received_on_sigusr1()
62 if (signal_received != pthread_self()) { in send_signal()
/tools/virtio/ringtest/
A Dmain.c92 self = pthread_self(); in set_affinity()
/tools/power/acpi/os_specific/service_layers/
A Dosunixxf.c1250 thread = pthread_self(); in acpi_os_get_thread_id()
/tools/testing/selftests/kvm/
A Dsteal_time.c360 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()

Completed in 46 milliseconds

12