| /linux-6.15/tools/tracing/rtla/src/ |
| H A D | timerlat_u.c | 46 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-6.15/tools/testing/selftests/powerpc/dscr/ |
| H A D | dscr_explicit_test.c | 35 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 D | dscr_default_test.c | 86 srand(gettid()); in dscr_default_random_thread()
|
| /linux-6.15/tools/testing/selftests/arm64/abi/ |
| H A D | tpidr2.c | 203 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-6.15/tools/perf/tests/shell/coresight/thread_loop/ |
| H A D | thread_loop.c | 17 #define gettid() syscall(SYS_gettid) macro 31 unsigned long long tid = gettid(); in thrfn()
|
| /linux-6.15/tools/build/feature/ |
| H A D | test-gettid.c | 8 return gettid(); in main()
|
| H A D | Makefile | 65 test-gettid.bin \ 369 $(OUTPUT)test-gettid.bin:
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | kernel_flag.c | 19 lsm_skel->bss->monitored_tid = gettid(); in test_kernel_flag()
|
| /linux-6.15/tools/testing/selftests/powerpc/mm/ |
| H A D | pkey_siginfo.c | 104 tid = gettid(); in protect() 146 tid = gettid(); in protect_access()
|
| /linux-6.15/tools/perf/jvmti/ |
| H A D | jvmti_agent.c | 49 static inline pid_t gettid(void) in gettid() function 387 rec.tid = gettid(); in jvmti_write_code()
|
| /linux-6.15/tools/testing/selftests/arm64/mte/ |
| H A D | check_gcr_el1_cswitch.c | 31 pid_t tid = gettid(); in execute_thread()
|
| /linux-6.15/tools/testing/selftests/sched/ |
| H A D | cs_prctl_test.c | 37 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-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_info_test.c | 223 pid_t pid_thread = gettid(); in pidfd_info_pause_thread() 398 pid_t pid_thread = gettid(); in pidfd_info_thread_exec() 547 pid_t pid_thread = gettid(); in pidfd_info_thread_exec_sane()
|
| /linux-6.15/tools/testing/selftests/powerpc/include/ |
| H A D | utils.h | 79 static inline pid_t gettid(void) in gettid() function
|
| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | audit_test.c | 173 if (getpid() == gettid()) { in thread_audit_test() 241 EXPECT_EQ(getpid(), gettid()); in TEST_F()
|
| /linux-6.15/tools/build/ |
| H A D | Makefile.feature | 72 gettid \
|
| /linux-6.15/Documentation/scheduler/ |
| H A D | sched-deadline.rst | 786 #define gettid() syscall(__NR_gettid) 848 printf("deadline thread started [%ld]\n", gettid()); 871 printf("deadline thread dies [%ld]\n", gettid()); 879 printf("main thread [%ld]\n", gettid()); 888 printf("main dies [%ld]\n", gettid());
|
| /linux-6.15/tools/perf/tests/shell/ |
| H A D | test_intel_pt.sh | 362 .tid = gettid(),
|
| /linux-6.15/arch/mips/kernel/syscalls/ |
| H A D | syscall_n64.tbl | 189 178 n64 gettid sys_gettid
|
| H A D | syscall_n32.tbl | 189 178 n32 gettid sys_gettid
|
| /linux-6.15/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 189 178 n64 gettid sys_gettid
|
| /linux-6.15/tools/testing/selftests/timers/ |
| H A D | posix_timers.c | 249 *tid = gettid(); in ignore_thread()
|
| /linux-6.15/Documentation/trace/ |
| H A D | timerlat-tracer.rst | 239 if (sched_setaffinity(gettid(), sizeof(set), &set) == -1)
|
| /linux-6.15/tools/scripts/ |
| H A D | syscall.tbl | 219 178 common gettid sys_gettid
|
| /linux-6.15/tools/perf/arch/arm64/entry/syscalls/ |
| H A D | syscall_64.tbl | 219 178 common gettid sys_gettid
|