Symbol: SYS_gettid
tools/perf/tests/mmap-thread-lookup.c
49
td->tid = syscall(SYS_gettid);
tools/perf/tests/shell/coresight/thread_loop/thread_loop.c
13
#ifndef SYS_gettid
tools/perf/tests/shell/coresight/thread_loop/thread_loop.c
17
#define gettid() syscall(SYS_gettid)
tools/perf/tests/sigtrap.c
157
__atomic_fetch_sub(&ctx.tids_want_signal, syscall(SYS_gettid), __ATOMIC_RELAXED);
tools/perf/tests/sigtrap.c
163
pid_t tid = syscall(SYS_gettid);
tools/testing/selftests/bpf/bpf_util.h
86
#define sys_gettid() syscall(SYS_gettid)
tools/testing/selftests/kvm/lib/assert.c
63
return syscall(SYS_gettid);
tools/testing/selftests/kvm/lib/test_util.c
380
sprintf(path, "/proc/%ld/schedstat", syscall(SYS_gettid));
tools/testing/selftests/kvm/rseq_test.c
247
(void *)(unsigned long)syscall(SYS_gettid));
tools/testing/selftests/mm/pkey_sighandler_tests.c
148
tid = syscall_raw(SYS_gettid, 0, 0, 0, 0, 0, 0);
tools/testing/selftests/mm/uffd-unit-tests.c
1348
*pid = syscall(SYS_gettid);
tools/testing/selftests/net/tcp_ao/lib/aolib.h
121
syscall(SYS_gettid), __FILE__, __LINE__, \
tools/testing/selftests/net/tcp_ao/lib/aolib.h
125
syscall(SYS_gettid), __FILE__, __LINE__, \
tools/testing/selftests/net/tcp_ao/lib/aolib.h
97
syscall(SYS_gettid), \
tools/testing/selftests/pidfd/pidfd_test.c
437
getpid(), syscall(SYS_gettid));
tools/testing/selftests/pidfd/pidfd_test.c
443
getpid(), syscall(SYS_gettid));
tools/testing/selftests/pidfd/pidfd_test.c
483
syscall(SYS_gettid));
tools/testing/selftests/pidfd/pidfd_test.c
536
getpid(), syscall(SYS_gettid));
tools/testing/selftests/pidfd/pidfd_test.c
538
ksft_print_msg("Child Thread: DONE. pid %d tid %ld\n", getpid(), syscall(SYS_gettid));
tools/testing/selftests/pidfd/pidfd_test.c
547
ksft_print_msg("Child: starting. pid %d tid %ld\n", getpid(), syscall(SYS_gettid));
tools/testing/selftests/powerpc/include/utils.h
81
return syscall(SYS_gettid);
tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c
103
if (regs.user_syscall_nr != SYS_gettid ||
tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c
137
if (regs.user_syscall_nr != SYS_gettid ||
tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c
77
pid_t pid = getpid(), tid = syscall(SYS_gettid);
tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c
82
syscall(SYS_gettid, 10, 11, 12, 13, 14, 15);
tools/testing/selftests/proc/proc.h
19
return syscall(SYS_gettid);
tools/testing/selftests/sched/cs_prctl_test.c
39
return syscall(SYS_gettid);
tools/testing/selftests/x86/fsgsbase_restore.c
130
pid_t pid = getpid(), tid = syscall(SYS_gettid);
tools/testing/selftests/x86/fsgsbase_restore.c
164
pid_t pid = getpid(), tid = syscall(SYS_gettid);
tools/testing/selftests/x86/ptrace_syscall.c
166
pid_t pid = getpid(), tid = syscall(SYS_gettid);
tools/testing/selftests/x86/ptrace_syscall.c
171
syscall(SYS_gettid, 10, 11, 12, 13, 14, 15);
tools/testing/selftests/x86/ptrace_syscall.c
191
if (regs.user_syscall_nr != SYS_gettid ||
tools/testing/selftests/x86/ptrace_syscall.c
222
if (regs.user_syscall_nr != SYS_gettid ||
tools/testing/selftests/x86/ptrace_syscall.c
286
pid_t pid = getpid(), tid = syscall(SYS_gettid);