Searched refs:ppid (Results 1 - 9 of 9) sorted by relevance

/system/core/libprocinfo/
H A Dprocess_test.cpp47 ASSERT_EQ(getppid(), self.ppid);
62 ASSERT_EQ(getppid(), self.ppid);
H A Dprocess.cpp108 process_info->ppid = atoi(tab + 1);
/system/extras/simpleperf/scripts/
H A Ddebug_unwind_reporter.py88 def fork_pid(self, pid, ppid):
89 if pid == ppid:
91 entry_list = self.process_maps.get(ppid, [])
434 ppid = None
437 m = re.search(r'pid\s+(\w+),\s+ppid\s+(\w+)', lines[i])
440 ppid = int(m.group(2))
442 if None in [pid, ppid]:
444 process_maps.fork_pid(pid, ppid)
/system/core/libprocinfo/include/procinfo/
H A Dprocess.h52 pid_t ppid; member in struct:android::procinfo::ProcessInfo
/system/extras/simpleperf/
H A Dthread_tree.cpp57 void ThreadTree::ForkThread(int pid, int tid, int ppid, int ptid) { argument
58 ThreadEntry* parent = FindThreadOrNew(ppid, ptid);
61 if (pid != ppid) {
321 ForkThread(r.data->pid, r.data->tid, r.data->ppid, r.data->ptid);
H A Dthread_tree.h93 void ForkThread(int pid, int tid, int ppid, int ptid);
H A Drecord.h332 uint32_t pid, ppid; member in struct:ExitOrForkRecord::ExitOrForkRecordDataType
356 uint32_t ppid, uint32_t ptid, uint64_t event_id);
H A Drecord.cpp345 PrintIndented(indent, "pid %u, ppid %u, tid %u, ptid %u\n", data->pid,
346 data->ppid, data->tid, data->ptid);
350 uint32_t ppid, uint32_t ptid, uint64_t event_id) {
354 data.ppid = ppid;
349 ForkRecord(const perf_event_attr& attr, uint32_t pid, uint32_t tid, uint32_t ppid, uint32_t ptid, uint64_t event_id) argument
/system/extras/perfprofd/scripts/
H A Dperf_proto_stack.py144 if fork_event.pid == fork_event.ppid:
146 if fork_event.ppid not in state_map:
147 logging.warn("fork from %d without map", fork_event.ppid)
149 state_map[fork_event.pid] = state_map[fork_event.ppid].copy()

Completed in 153 milliseconds