Lines Matching defs:pid
32 int pid;
59 * @param pid process id
64 bool TidToNstid(const int pid, const int tid, int& nstid);
68 * @param pid process id
72 bool IsThreadInPid(int32_t pid, int32_t tid);
76 * @param pid process id
81 bool GetTidsByPidWithFunc(const int pid, std::vector<int>& tids, std::function<bool(int)> const& func);
85 * @param pid process id
90 bool GetTidsByPid(const int pid, std::vector<int>& tids, std::vector<int>& nstids);
102 void ReadThreadNameByPidAndTid(const int pid, const int tid, std::string& str);
105 * @param pid process id
108 void ReadProcessName(const int pid, std::string& str);
113 * @param pid process id
116 void ReadProcessStatus(std::string& result, const int pid);
121 * @param pid process id
125 void ReadProcessWchan(std::string& result, const int pid, bool onlyPid = false, bool withThreadName = false);