Home
last modified time | relevance | path

Searched refs:gettid (Results 1 – 22 of 22) sorted by relevance

/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c46 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 Ddscr_explicit_test.c35 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 Ddscr_default_test.c86 srand(gettid()); in dscr_default_random_thread()
/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c203 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 Dthread_loop.c17 #define gettid() syscall(SYS_gettid) macro
31 unsigned long long tid = gettid(); in thrfn()
/linux/tools/build/feature/
H A Dtest-gettid.c8 return gettid(); in main()
/linux/tools/testing/selftests/powerpc/mm/
H A Dpkey_siginfo.c104 tid = gettid(); in protect()
146 tid = gettid(); in protect_access()
/linux/tools/perf/jvmti/
H A Djvmti_agent.c49 static inline pid_t gettid(void) in gettid() function
387 rec.tid = gettid(); in jvmti_write_code()
/linux/tools/testing/selftests/sched/
H A Dcs_prctl_test.c37 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 Dcheck_gcr_el1_cswitch.c31 pid_t tid = gettid(); in execute_thread()
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h79 static inline pid_t gettid(void) in gettid() function
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c248 *tid = gettid(); in ignore_thread()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl189 178 n64 gettid sys_gettid
/linux/Documentation/trace/
H A Dtimerlat-tracer.rst239 if (sched_setaffinity(gettid(), sizeof(set), &set) == -1)
/linux/scripts/
H A Dsyscall.tbl219 178 common gettid sys_gettid
/linux/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl198 186 common gettid sys_gettid
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl198 186 common gettid sys_gettid
H A Dsyscall_32.tbl239 224 i386 gettid sys_gettid
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl267 207 common gettid sys_gettid
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl247 236 common gettid sys_gettid sys_gettid
/linux/Documentation/bpf/
H A Dbpf_iterators.rst453 skel->bss->target_pid = getpid(); /* process ID. For thread id, use gettid() */
/linux/kernel/
H A Dsys.c975 SYSCALL_DEFINE0(gettid) in SYSCALL_DEFINE0() argument