/external/libchrome/sandbox/linux/services/ |
syscall_wrappers.cc | 37 pid_t* ptid, 43 const bool invalid_ptid = (flags & CLONE_PARENT_SETTID) && !ptid; 51 if (ptid) MSAN_UNPOISON(ptid, sizeof(*ptid)); 56 return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls); 60 return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid);
|
syscall_wrappers_unittest.cc | 38 pid_t ptid = 0; local 39 pid_t child = sys_clone(CLONE_PARENT_SETTID | SIGCHLD, nullptr, &ptid, 43 EXPECT_EQ(child, ptid);
|
syscall_wrappers.h | 38 pid_t* ptid,
|
/external/valgrind/coregrind/m_gdbserver/ |
target.c | 44 char *image_ptid(unsigned long ptid) 47 VG_(sprintf) (result, "id %lu", ptid); 56 dlog(1, "removing gdb ptid %s\n", 68 unsigned long ptid; local 77 #define LOCAL_THREAD_TRACE " ti* %p vgtid %u status %s as gdb ptid %s lwpid %d\n", \ 79 image_ptid (ptid), ts->os_state.lwpid 83 ptid = ts->os_state.lwpid; 84 ti = gdb_id_to_thread (ptid); 92 add_thread (ptid, ts, ptid); [all...] |
/external/valgrind/drd/ |
drd_error.h | 172 ULong ptid; member in struct:__anon25846
|
/external/libchrome/base/process/ |
launch_posix.cc | 336 // We specify a null ptid and ctid. 731 pid_t* ptid, 747 return clone(&CloneHelper, stack, flags, env, ptid, nullptr, ctid); 752 pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid) { 756 const bool invalid_ptid = (flags & CLONE_PARENT_SETTID) && !ptid; 773 return syscall(__NR_clone, flags, nullptr, ptid, ctid, nullptr); 777 return syscall(__NR_clone, flags, nullptr, ptid, nullptr, ctid); 785 return CloneAndLongjmpInChild(flags, ptid, ctid, &env);
|
launch.h | 294 // child's pid in the parent and 0 in the child. |flags|, |ptid|, and |ctid| are 308 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid);
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-arm64-linux.c | 209 static SysRes do_clone ( ThreadId ptid, 217 ThreadState* ptst = VG_(get_ThreadState)(ptid); 226 vg_assert(VG_(is_running_thread)(ptid)); 256 ctst->os_state.parent = ptid; 279 vg_assert(VG_(owns_BigLock_LL)(ptid)); 280 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
syswrap-ppc64-linux.c | 382 static SysRes do_clone ( ThreadId ptid, 391 ThreadState* ptst = VG_(get_ThreadState)(ptid); 400 vg_assert(VG_(is_running_thread)(ptid)); 443 ctst->os_state.parent = ptid; 466 vg_assert(VG_(owns_BigLock_LL)(ptid)); 467 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
syswrap-amd64-linux.c | 199 static SysRes do_clone ( ThreadId ptid, 208 ThreadState* ptst = VG_(get_ThreadState)(ptid); 217 vg_assert(VG_(is_running_thread)(ptid)); 247 ctst->os_state.parent = ptid; 270 vg_assert(VG_(owns_BigLock_LL)(ptid)); 271 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
syswrap-arm-linux.c | 165 static SysRes do_clone ( ThreadId ptid, 172 ThreadState* ptst = VG_(get_ThreadState)(ptid); 181 vg_assert(VG_(is_running_thread)(ptid)); 197 ctst->os_state.parent = ptid; 215 vg_assert(VG_(owns_BigLock_LL)(ptid)); 216 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
syswrap-ppc32-linux.c | 232 static SysRes do_clone ( ThreadId ptid, 241 ThreadState* ptst = VG_(get_ThreadState)(ptid); 250 vg_assert(VG_(is_running_thread)(ptid)); 293 ctst->os_state.parent = ptid; 316 vg_assert(VG_(owns_BigLock_LL)(ptid)); 317 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
syswrap-s390x-linux.c | 205 static SysRes do_clone ( ThreadId ptid, 214 ThreadState* ptst = VG_(get_ThreadState)(ptid); 223 vg_assert(VG_(is_running_thread)(ptid)); 253 ctst->os_state.parent = ptid; 268 vg_assert(VG_(owns_BigLock_LL)(ptid)); 269 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
syswrap-mips32-linux.c | 237 static SysRes do_clone (ThreadId ptid, 245 ThreadState * ptst = VG_ (get_ThreadState) (ptid); 253 vg_assert (VG_ (is_running_thread) (ptid)); 268 ctst->os_state.parent = ptid; 286 VG_TRACK (pre_thread_ll_create, ptid, ctid); [all...] |
syswrap-mips64-linux.c | 194 static SysRes do_clone ( ThreadId ptid, 202 ThreadState * ptst = VG_ (get_ThreadState) (ptid); 210 vg_assert(VG_(is_running_thread)(ptid)); 225 ctst->os_state.parent = ptid; 233 VG_TRACK(pre_thread_ll_create, ptid, ctid); [all...] |
syswrap-tilegx-linux.c | 328 static SysRes do_clone ( ThreadId ptid, 336 ThreadState * ptst = VG_ (get_ThreadState) (ptid); 344 vg_assert (VG_ (is_running_thread) (ptid)); 359 ctst->os_state.parent = ptid; 376 VG_TRACK (pre_thread_ll_create, ptid, ctid); [all...] |
syswrap-x86-linux.c | 206 static SysRes do_clone ( ThreadId ptid, 215 ThreadState* ptst = VG_(get_ThreadState)(ptid); 224 vg_assert(VG_(is_running_thread)(ptid)); 258 ctst->os_state.parent = ptid; 284 vg_assert(VG_(owns_BigLock_LL)(ptid)); 285 VG_TRACK ( pre_thread_ll_create, ptid, ctid ); [all...] |
/system/extras/simpleperf/ |
thread_tree.h | 68 void ForkThread(int pid, int tid, int ppid, int ptid);
|
record.h | 227 uint32_t tid, ptid; member in struct:ExitOrForkRecord::ExitOrForkRecordDataType 366 uint32_t ptid);
|
thread_tree.cpp | 61 void ThreadTree::ForkThread(int pid, int tid, int ppid, int ptid) { 62 ThreadEntry* parent = FindThreadOrNew(ppid, ptid); 240 thread_tree->ForkThread(r.data.pid, r.data.tid, r.data.ppid, r.data.ptid);
|
record.cpp | 300 PrintIndented(indent, "pid %u, ppid %u, tid %u, ptid %u\n", data.pid, data.ppid, data.tid, 301 data.ptid); 664 uint32_t ptid) { 671 record.data.ptid = ptid;
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
event.h | 57 u32 tid, ptid; member in struct:fork_event
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy_unittest.cc | 102 static pid_t ptid; local 103 return sys_clone(CLONE_PARENT_SETTID | SIGCHLD, nullptr, &ptid, nullptr,
|
/system/extras/perfprofd/quipper/ |
perf_parser.cc | 191 VLOG(1) << "FORK: " << event.fork.ppid << ":" << event.fork.ptid 198 VLOG(1) << "EXIT: " << event.fork.ppid << ":" << event.fork.ptid; 554 PidTid parent = std::make_pair(event.ppid, event.ptid);
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
event.h | 42 u32 tid, ptid; member in struct:fork_event
|