Lines Matching refs:ppid
292 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()
1044 procp = llkTidAlloc(tid, pid, ppid, pdir, utime + stime, state); in llkCheck()
1051 (procp->ppid != ppid) || (procp->pid != pid)) { in llkCheck()
1059 procp->ppid = ppid; in llkCheck()
1087 if (llkSkipPpid(ppid)) { in llkCheck()
1102 auto pprocp = llkTidLookup(ppid); in llkCheck()
1104 pprocp = llkTidAlloc(ppid, ppid, 0, "", 0, '?'); in llkCheck()
1110 if (llkSkipName(std::to_string(ppid), llkBlacklistParent)) break; in llkCheck()
1126 LOG(VERBOSE) << state << ' ' << llkFormat(procp->count) << ' ' << ppid << "->" in llkCheck()
1134 LOG(VERBOSE) << state << ' ' << llkFormat(procp->count) << ' ' << ppid << "->" in llkCheck()
1159 if (ppid == initPid) { in llkCheck()
1162 LOG(WARNING) << "Z " << llkFormat(procp->count) << ' ' << ppid << "->" in llkCheck()
1165 (llkKillOneProcess(ppid, procp) >= 0)) { in llkCheck()
1192 std::to_string(ppid) + "->" + std::to_string(pid) + "->" + in llkCheck()
1208 std::string ppidCmdline = llkProcGetName(p->second.ppid, nullptr, nullptr); in llkCheck()
1218 LOG(VERBOSE) << "thread " << p->second.ppid << ppidCmdline << "->" << p->second.pid in llkCheck()