Home
last modified time | relevance | path

Searched refs:gettid (Results 1 – 25 of 39) sorted by relevance

12

/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c46 retval = sched_setaffinity(gettid(), sizeof(set), &set); in timerlat_u_main()
67 retval = set_pid_cgroup(gettid(), params->cgroup_name); in timerlat_u_main()
86 debug_msg("User-space timerlat pid %d on cpu %d\n", gettid(), cpu); in timerlat_u_main()
97 debug_msg("Leaving timerlat pid %d on cpu %d\n", gettid(), cpu); in timerlat_u_main()
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_explicit_test.c35 srand(gettid()); in dscr_explicit_lockstep_thread()
62 srand(gettid()); in dscr_explicit_lockstep_test()
101 srand(gettid()); in dscr_explicit_random_thread()
H A Ddscr_default_test.c86 srand(gettid()); in dscr_default_random_thread()
/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c203 if (gettid() == 0) in write_clone_read()
205 set_tpidr2(gettid()); in write_clone_read()
206 if (get_tpidr2() == gettid()) { in write_clone_read()
/linux/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c17 #define gettid() syscall(SYS_gettid) macro
31 unsigned long long tid = gettid(); in thrfn()
/linux/tools/build/feature/
H A Dtest-gettid.c8 return gettid(); in main()
H A DMakefile67 test-gettid.bin \
377 $(OUTPUT)test-gettid.bin:
/linux/tools/testing/selftests/powerpc/mm/
H A Dpkey_siginfo.c104 tid = gettid(); in protect()
146 tid = gettid(); in protect_access()
/linux/tools/perf/jvmti/
H A Djvmti_agent.c49 static inline pid_t gettid(void) in gettid() function
387 rec.tid = gettid(); in jvmti_write_code()
/linux/tools/testing/selftests/sched/
H A Dcs_prctl_test.c37 static pid_t gettid(void) in gettid() function
205 printf("tid=%d, / tgid=%d / pgid=%d: %lx\n", gettid(), getpid(), getpgid(0), in disp_processes()
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c31 pid_t tid = gettid(); in execute_thread()
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h79 static inline pid_t gettid(void) in gettid() function
/linux/tools/build/
H A DMakefile.feature39 gettid \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c229 skel->bss->tid = gettid(); in test_task_common_nocheck()
258 ASSERT_NEQ(getpid(), gettid(), "check_new_thread_id"); in run_test_task_tid()
261 linfo.task.tid = gettid(); in run_test_task_tid()
/linux/Documentation/scheduler/
H A Dsched-deadline.rst785 #define gettid() syscall(__NR_gettid)
847 printf("deadline thread started [%ld]\n", gettid());
870 printf("deadline thread dies [%ld]\n", gettid());
878 printf("main thread [%ld]\n", gettid());
887 printf("main dies [%ld]\n", gettid());
/linux/tools/perf/tests/shell/
H A Dtest_intel_pt.sh362 .tid = gettid(),
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c249 *tid = gettid(); in ignore_thread()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl189 178 n64 gettid sys_gettid
/linux/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl189 178 n64 gettid sys_gettid
/linux/Documentation/trace/
H A Dtimerlat-tracer.rst239 if (sched_setaffinity(gettid(), sizeof(set), &set) == -1)
/linux/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl198 186 common gettid sys_gettid
/linux/arch/xtensa/kernel/syscalls/
H A Dsyscall.tbl141 127 common gettid sys_gettid
/linux/scripts/
H A Dsyscall.tbl219 178 common gettid sys_gettid
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl198 186 common gettid sys_gettid
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1024 CASE_TEST(gettid); EXPECT_SYSNE(has_gettid, gettid(), -1); break; in run_syscall()

12