Searched refs:SYS_gettid (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/perf/tests/shell/coresight/thread_loop/ |
| H A D | thread_loop.c | 13 #ifndef SYS_gettid 15 # define SYS_gettid 178 macro 17 #define gettid() syscall(SYS_gettid)
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-syscall.c | 77 pid_t pid = getpid(), tid = syscall(SYS_gettid); in test_ptrace_syscall_restart() 82 syscall(SYS_gettid, 10, 11, 12, 13, 14, 15); in test_ptrace_syscall_restart() 103 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart() 137 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_test.c | 437 getpid(), syscall(SYS_gettid)); in test_pidfd_poll_exec_thread() 443 getpid(), syscall(SYS_gettid)); in test_pidfd_poll_exec_thread() 483 syscall(SYS_gettid)); in child_poll_exec_test() 536 getpid(), syscall(SYS_gettid)); in test_pidfd_poll_leader_exit_thread() 538 ksft_print_msg("Child Thread: DONE. pid %d tid %ld\n", getpid(), syscall(SYS_gettid)); in test_pidfd_poll_leader_exit_thread() 547 ksft_print_msg("Child: starting. pid %d tid %ld\n", getpid(), syscall(SYS_gettid)); in child_poll_leader_exit_test()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | fsgsbase_restore.c | 130 pid_t pid = getpid(), tid = syscall(SYS_gettid); in tracee_zap_segment() 164 pid_t pid = getpid(), tid = syscall(SYS_gettid); in main()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc.h | 19 return syscall(SYS_gettid); in sys_gettid()
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | assert.c | 69 return syscall(SYS_gettid); in _gettid()
|
| H A D | test_util.c | 380 sprintf(path, "/proc/%ld/schedstat", syscall(SYS_gettid)); in get_run_delay()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_util.h | 86 #define sys_gettid() syscall(SYS_gettid)
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | rseq_test.c | 247 (void *)(unsigned long)syscall(SYS_gettid)); in main()
|
| /linux/tools/perf/tests/ |
| H A D | mmap-thread-lookup.c | 49 td->tid = syscall(SYS_gettid); in thread_init()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | aolib.h | 97 syscall(SYS_gettid), \ 121 syscall(SYS_gettid), __FILE__, __LINE__, \ 125 syscall(SYS_gettid), __FILE__, __LINE__, \
|
| /linux/tools/testing/selftests/powerpc/include/ |
| H A D | utils.h | 81 return syscall(SYS_gettid); in gettid()
|
| /linux/tools/testing/selftests/sched/ |
| H A D | cs_prctl_test.c | 39 return syscall(SYS_gettid); in gettid()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pkey_sighandler_tests.c | 148 tid = syscall_raw(SYS_gettid, 0, 0, 0, 0, 0, 0); in raise_sigusr2()
|
| H A D | uffd-unit-tests.c | 1348 *pid = syscall(SYS_gettid); in uffd_mmap_changing_thread()
|