/linux/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/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/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/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/tools/build/feature/ |
H A D | test-gettid.c | 8 return gettid(); in main()
|
H A D | Makefile | 67 test-gettid.bin \ 377 $(OUTPUT)test-gettid.bin:
|
/linux/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_siginfo.c | 104 tid = gettid(); in protect() 146 tid = gettid(); in protect_access()
|
/linux/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/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/tools/testing/selftests/arm64/mte/ |
H A D | check_gcr_el1_cswitch.c | 31 pid_t tid = gettid(); in execute_thread()
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 79 static inline pid_t gettid(void) in gettid() function
|
/linux/tools/build/ |
H A D | Makefile.feature | 39 gettid \
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_iter.c | 229 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 D | sched-deadline.rst | 785 #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 D | test_intel_pt.sh | 362 .tid = gettid(),
|
/linux/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 249 *tid = gettid(); in ignore_thread()
|
/linux/tools/perf/arch/mips/entry/syscalls/ |
H A D | syscall_n64.tbl | 189 178 n64 gettid sys_gettid
|
/linux/arch/mips/kernel/syscalls/ |
H A D | syscall_n64.tbl | 189 178 n64 gettid sys_gettid
|
/linux/Documentation/trace/ |
H A D | timerlat-tracer.rst | 239 if (sched_setaffinity(gettid(), sizeof(set), &set) == -1)
|
/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 198 186 common gettid sys_gettid
|
/linux/arch/xtensa/kernel/syscalls/ |
H A D | syscall.tbl | 141 127 common gettid sys_gettid
|
/linux/scripts/ |
H A D | syscall.tbl | 219 178 common gettid sys_gettid
|
/linux/tools/perf/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 198 186 common gettid sys_gettid
|
/linux/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 1024 CASE_TEST(gettid); EXPECT_SYSNE(has_gettid, gettid(), -1); break; in run_syscall()
|