Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/filesystems/epoll/
H 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...]
/linux/tools/testing/selftests/bpf/progs/
H 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;
/linux/tools/testing/selftests/bpf/prog_tests/
H 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()
H A Dtimer_lockup.c31 ASSERT_OK(pthread_setaffinity_np(pthread_self(), sizeof(cpuset), in timer_lockup_thread()
H A Dperf_event_stackmap.c86 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
H A Dperf_link.c22 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in burn_cpu()
H A Dpreempted_bpf_ma_op.c30 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in run_alloc_prog()
H A Darena_spin_lock.c35 ASSERT_OK(pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset), "cpu affinity"); in spin_lock_thread()
H A Dhtab_update.c57 pthread_setaffinity_np(pthread_self(), sizeof(cpus), &cpus); in htab_update_thread()
H A Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
H A Dget_stack_raw_tp.c121 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
H A Dperf_branches.c83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
H A Dbpf_cookie.c433 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in burn_cpu()
/linux/tools/testing/selftests/mqueue/
H 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()
/linux/tools/perf/tests/workloads/
H A Dnoploop.c20 pthread_setname_np(pthread_self(), "perf-noploop"); in noploop()
/linux/tools/testing/selftests/powerpc/math/
H A Dfpu_signal.c64 srand(pthread_self()); in signal_fpu_c()
H A Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
H A Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/linux/tools/testing/selftests/bpf/
H A Dtest_tcpnotify_user.c88 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c167 pthread_setname_np(pthread_self(), proc_name); in timerlat_u_dispatcher()
/linux/tools/virtio/ringtest/
H A Dmain.c92 self = pthread_self(); in set_affinity()
/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c1250 thread = pthread_self(); in acpi_os_get_thread_id()
/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c360 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c170 if (pthread_self() != ctd_thread) in ctd_sighandler()
/linux/tools/tracing/latency/
H A Dlatency-collector.c1060 r = pthread_getschedparam(pthread_self(), &policy, &param); in print_priority()

12