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

/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_preempt.c47 srand(pthread_self());
H A Dfpu_preempt.c44 srand(pthread_self());
H A Dfpu_signal.c64 srand(pthread_self());
H A Dvsx_preempt.c76 srand(pthread_self());
H A Dvmx_signal.c83 srand(pthread_self());
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dperf_link.c18 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
H A Dperf_event_stackmap.c86 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
H A Dpreempted_bpf_ma_op.c30 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
H A Dhtab_update.c57 pthread_setaffinity_np(pthread_self(), sizeof(cpus), &cpus);
H A Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
H A Dperf_branches.c83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
H A Dget_stack_raw_tp.c121 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
H A Dbpf_cookie.c433 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set);
/linux-master/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-master/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c488 ctx.main = pthread_self();
531 ctx.main = pthread_self();
578 ctx.main = pthread_self();
627 ctx.main = pthread_self();
672 ctx.main = pthread_self();
715 ctx.main = pthread_self();
762 ctx.main = pthread_self();
811 ctx.main = pthread_self();
1216 ctx.main = pthread_self();
1268 ctx.main = pthread_self();
[all...]
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c215 if (pthread_self() != main_thread)
228 if (pthread_self() != main_thread)
315 if (cpu_threads[i] == pthread_self())
329 if (cpu_threads[i] == pthread_self())
550 main_thread = pthread_self();
/linux-master/tools/testing/selftests/bpf/
H A Dtest_tcpnotify_user.c88 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
H A Dtest_progs.c379 err = pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset);
/linux-master/tools/tracing/rtla/src/
H A Dtimerlat_u.c167 pthread_setname_np(pthread_self(), proc_name);
/linux-master/tools/testing/selftests/timers/
H A Dposix_timers.c192 if (pthread_self() != ctd_thread)
/linux-master/tools/virtio/ringtest/
H A Dmain.c92 self = pthread_self();
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c1250 thread = pthread_self();
/linux-master/tools/testing/selftests/kvm/
H A Dsteal_time.c361 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
/linux-master/tools/tracing/latency/
H A Dlatency-collector.c1060 r = pthread_getschedparam(pthread_self(), &policy, &param);
/linux-master/tools/perf/
H A Dbuiltin-record.c2172 rec->thread_id = pthread_self();

Completed in 204 milliseconds