Searched refs:SYS_gettid (Results 1 - 23 of 23) sorted by relevance
/linux-master/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-master/tools/testing/selftests/proc/ |
H A D | proc.h | 19 return syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-syscall.c | 77 pid_t pid = getpid(), tid = syscall(SYS_gettid); 82 syscall(SYS_gettid, 10, 11, 12, 13, 14, 15); 103 if (regs.user_syscall_nr != SYS_gettid || 137 if (regs.user_syscall_nr != SYS_gettid ||
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | linked_funcs.c | 23 skel->rodata->my_tid = syscall(SYS_gettid);
|
H A D | cgrp_local_storage.c | 66 skel->bss->target_pid = syscall(SYS_gettid); 72 syscall(SYS_gettid); 73 syscall(SYS_gettid); 157 syscall(SYS_gettid); 227 skel->bss->target_pid = syscall(SYS_gettid);
|
H A D | rcu_read_lock.c | 24 skel->bss->target_pid = syscall(SYS_gettid); 61 skel->bss->target_pid = syscall(SYS_gettid);
|
H A D | task_local_storage.c | 26 skel->bss->target_pid = syscall(SYS_gettid); 32 syscall(SYS_gettid); 33 syscall(SYS_gettid); 102 syscall(SYS_gettid);
|
H A D | ns_current_pid_tgid.c | 26 *pid = syscall(SYS_gettid);
|
H A D | bpf_cookie.c | 693 skel->bss->my_tid = syscall(SYS_gettid);
|
H A D | core_reloc.c | 1012 my_pid_tgid = getpid() | ((uint64_t)syscall(SYS_gettid) << 32);
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 385 getpid(), syscall(SYS_gettid)); 391 getpid(), syscall(SYS_gettid)); 431 syscall(SYS_gettid)); 484 getpid(), syscall(SYS_gettid)); 486 ksft_print_msg("Child Thread: DONE. pid %d tid %ld\n", getpid(), syscall(SYS_gettid)); 495 ksft_print_msg("Child: starting. pid %d tid %ld\n", getpid(), syscall(SYS_gettid));
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | assert.c | 63 return syscall(SYS_gettid);
|
H A D | test_util.c | 353 sprintf(path, "/proc/%ld/schedstat", syscall(SYS_gettid));
|
/linux-master/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 131 pid_t pid = getpid(), tid = syscall(SYS_gettid); 165 pid_t pid = getpid(), tid = syscall(SYS_gettid);
|
H A D | ptrace_syscall.c | 186 pid_t pid = getpid(), tid = syscall(SYS_gettid); 191 syscall(SYS_gettid, 10, 11, 12, 13, 14, 15); 211 if (regs.user_syscall_nr != SYS_gettid || 242 if (regs.user_syscall_nr != SYS_gettid || 306 pid_t pid = getpid(), tid = syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | task_storage_map.c | 118 syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | rseq_test.c | 244 (void *)(unsigned long)syscall(SYS_gettid));
|
/linux-master/tools/perf/tests/ |
H A D | sigtrap.c | 171 __atomic_fetch_sub(&ctx.tids_want_signal, syscall(SYS_gettid), __ATOMIC_RELAXED); 177 pid_t tid = syscall(SYS_gettid);
|
H A D | mmap-thread-lookup.c | 48 td->tid = syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 81 return syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | aolib.h | 55 syscall(SYS_gettid), \ 79 syscall(SYS_gettid), __FILE__, __LINE__, \ 83 syscall(SYS_gettid), __FILE__, __LINE__, \
|
/linux-master/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 39 return syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_trigger.c | 75 tid = syscall(SYS_gettid);
|
Completed in 458 milliseconds