Home
last modified time | relevance | path

Searched refs:ppid (Results 1 – 12 of 12) sorted by relevance

/system/core/llkd/
Dlibllkd.cpp292 pid_t ppid; // /proc/<tid>/stat field 4 parent pid. member
310 proc(pid_t tid, pid_t pid, pid_t ppid, const char* _comm, int time, char state) in proc()
320 ppid(ppid), in proc()
595 proc* llkTidAlloc(pid_t tid, pid_t pid, pid_t ppid, const char* comm, int time, char state) { in llkTidAlloc() argument
596 auto it = tids.emplace(std::make_pair(tid, proc(tid, pid, ppid, comm, time, state))); in llkTidAlloc()
735 bool llkSkipPpid(pid_t ppid) { in llkSkipPpid() argument
736 return llkSkipName(std::to_string(ppid), llkBlacklistParent); in llkSkipPpid()
1022 unsigned ppid = -1; in llkCheck() local
1032 &tid, pdir, &state, &ppid, &utime, &stime, &dummy); in llkCheck()
1037 << ppid << " ... " << utime << ' ' << stime << ' ' << dummy; in llkCheck()
[all …]
/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py88 def fork_pid(self, pid, ppid): argument
89 if pid == ppid:
91 entry_list = self.process_maps.get(ppid, [])
436 ppid = None
442 ppid = int(m.group(2))
444 if None in [pid, ppid]:
446 process_maps.fork_pid(pid, ppid)
/system/core/libprocinfo/
Dprocess_test.cpp47 ASSERT_EQ(getppid(), self.ppid); in TEST()
62 ASSERT_EQ(getppid(), self.ppid); in TEST()
Dprocess.cpp114 process_info->ppid = atoi(tab + 1); in GetProcessInfoFromProcPidFd()
/system/extras/simpleperf/
Dthread_tree.cpp40 void ThreadTree::ForkThread(int pid, int tid, int ppid, int ptid) { in ForkThread() argument
41 ThreadEntry* parent = FindThreadOrNew(ppid, ptid); in ForkThread()
44 if (pid != ppid) { in ForkThread()
315 ForkThread(r.data->pid, r.data->tid, r.data->ppid, r.data->ptid); in Update()
Dthread_tree.h94 void ForkThread(int pid, int tid, int ppid, int ptid);
Drecord.h338 uint32_t pid, ppid; member
362 uint32_t ppid, uint32_t ptid, uint64_t event_id);
DJITDebugReader.cpp161 if (r->data->pid != r->data->ppid && in UpdateRecord()
162 pids_with_art_lib_.find(r->data->ppid) != pids_with_art_lib_.end()) { in UpdateRecord()
Drecord.cpp386 data->ppid, data->tid, data->ptid); in DumpData()
390 uint32_t ppid, uint32_t ptid, uint64_t event_id) { in ForkRecord() argument
394 data.ppid = ppid; in ForkRecord()
Dcmd_trace_sched.cpp234 parent_thread.process_id = r.data->ppid; in ProcessRecord()
/system/extras/perfprofd/scripts/
Dperf_proto_stack.py153 if fork_event.pid == fork_event.ppid:
156 if fork_event.ppid not in state_map:
157 logging.warn("fork from %d without map", fork_event.ppid)
159 state_map[fork_event.pid] = state_map[fork_event.ppid].copy()
/system/core/libprocinfo/include/procinfo/
Dprocess.h52 pid_t ppid; member