Home
last modified time | relevance | path

Searched refs:nstids (Results 1 - 5 of 5) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_process.cpp61 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 DFXLOGD("skip recycle thread:%{public}d.", nstids[i]); in InitOtherThreads()
72 if ((keyThread_ != nullptr) && nstids[i] == keyThread_->threadInfo_.nsTid) { in InitOtherThreads()
73 DFXLOGD("skip key thread:%{public}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/
H A Dprocinfo_test.cpp78 std::vector<int> nstids; in HWTEST_F() local
79 ASSERT_TRUE(GetTidsByPid(getpid(), tids, nstids)); in HWTEST_F()
80 for (size_t i = 0; i < nstids.size(); ++i) { in HWTEST_F()
81 ASSERT_TRUE(IsThreadInPid(getpid(), nstids[i])); in HWTEST_F()
85 ASSERT_EQ(nstid, nstids[i]); in HWTEST_F()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/
H A Dprocinfo.cpp164 bool GetTidsByPid(const int pid, std::vector<int>& tids, std::vector<int>& nstids) in GetTidsByPid() argument
174 nstids.push_back(nstid); in GetTidsByPid()
180 nstids = tids; in GetTidsByPid()
182 return (nstids.size() > 0); in GetTidsByPid()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/include/
H A Dprocinfo.h90 bool GetTidsByPid(const int pid, std::vector<int>& tids, std::vector<int>& nstids);
/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/
H A Ddumpcatcher_interfaces_test.cpp639 std::vector<int> nstids; in HWTEST_F() local
640 bool isSuccess = GetTidsByPid(g_processId, tids, nstids); in HWTEST_F()

Completed in 7 milliseconds