Searched refs:nstids (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_process.cpp | 61 std::vector<int> nstids; in InitOtherThreads() local 62 if (!GetTidsByPid(processInfo_.pid, tids, nstids)) { in InitOtherThreads() 66 for (size_t i = 0; i < nstids.size(); ++i) { in InitOtherThreads() 67 if ((recycleTid_ > 0) && (nstids[i] == static_cast<int>(recycleTid_))) { in InitOtherThreads() 68 DFXLOG_DEBUG("skip recycle thread:%d.", nstids[i]); in InitOtherThreads() 72 if ((keyThread_ != nullptr) && nstids[i] == keyThread_->threadInfo_.nsTid) { in InitOtherThreads() 73 DFXLOG_DEBUG("skip key thread:%d.", nstids[i]); in InitOtherThreads() 77 auto thread = DfxThread::Create(processInfo_.pid, tids[i], nstids[i]); in InitOtherThreads() 94 std::vector<int> nstids; in ChangeTid() local 95 if (!GetTidsByPid(processInfo_.pid, tids, nstids)) { in ChangeTid() [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/procinfo/ |
D | procinfo_test.cpp | 78 std::vector<int> nstids; variable 79 ASSERT_TRUE(GetTidsByPid(getpid(), tids, nstids)); 80 for (size_t i = 0; i < nstids.size(); ++i) { 81 ASSERT_TRUE(IsThreadInPid(getpid(), nstids[i])); 85 ASSERT_EQ(nstid, nstids[i]);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/ |
D | procinfo.cpp | 172 bool GetTidsByPid(const int pid, std::vector<int>& tids, std::vector<int>& nstids) argument 182 nstids.push_back(nstid); 188 nstids = tids; 190 return (nstids.size() > 0);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/include/ |
D | procinfo.h | 94 bool GetTidsByPid(const int pid, std::vector<int>& tids, std::vector<int>& nstids);
|