Searched refs:tids (Results 1 – 10 of 10) sorted by relevance
/system/memory/libmemunreachable/ |
D | ThreadCapture.cpp | 78 bool ListThreads(TidList& tids); 101 bool ThreadCaptureImpl::ListThreads(TidList& tids) { in ListThreads() argument 102 tids.clear(); in ListThreads() 142 tids.push_back(tid); in ListThreads() 152 TidList tids{allocator_}; in CaptureThreads() local 156 if (!ListThreads(tids)) { in CaptureThreads() 163 for (auto it = tids.begin(); it != tids.end(); it++) { in CaptureThreads() 343 bool ThreadCapture::ListThreads(TidList& tids) { in ListThreads() argument 344 return impl_->ListThreads(tids); in ListThreads()
|
D | ThreadCapture.h | 42 bool ListThreads(TidList& tids);
|
/system/memory/libmemunreachable/tests/ |
D | ThreadCapture_test.cpp | 98 std::vector<pid_t>& tids() { return tids_; } in tids() function in android::ThreadListTest 104 auto tids = TidList{heap}; in WaitForThreads() 108 EXPECT_TRUE(thread_capture.ListThreads(tids)); in WaitForThreads() 109 if (tids.size() == 1) { in WaitForThreads() 114 EXPECT_EQ(1U, tids.size()); in WaitForThreads() 147 std::vector<pid_t> expected_tids = tids(); in TEST_P()
|
/system/extras/simpleperf/ |
D | record_lib_interface.cpp | 86 std::vector<pid_t> tids = GetThreadsInProcess(getpid()); in MonitorThreadsInCurrentProcess() local 88 if (std::find(tids.begin(), tids.end(), tid) == tids.end()) { in MonitorThreadsInCurrentProcess()
|
D | cmd_record.cpp | 320 bool DumpProcessMaps(pid_t pid, const std::unordered_set<pid_t>& tids); 885 std::set<pid_t> tids; in ParseOptions() local 886 if (!GetValidThreadsFromThreadString(*value.str_value, &tids)) { in ParseOptions() 889 event_selection_set_.AddMonitoredThreads(tids); in ParseOptions() 1212 std::vector<pid_t> tids = GetThreadsInProcess(pid); in DumpUserSpaceMaps() local 1213 process_map[pid].insert(tids.begin(), tids.end()); in DumpUserSpaceMaps() 1232 bool RecordCommand::DumpProcessMaps(pid_t pid, const std::unordered_set<pid_t>& tids) { in DumpProcessMaps() argument 1260 for (const auto& tid : tids) { in DumpProcessMaps() 1339 std::vector<pid_t> tids = GetThreadsInProcess(pid); in DumpMapsForRecord() local 1340 if (!tids.empty() && in DumpMapsForRecord() [all …]
|
D | event_selection_set.cpp | 582 std::vector<pid_t> tids = GetThreadsInProcess(pid); in PrepareThreads() local 583 result.insert(tids.begin(), tids.end()); in PrepareThreads()
|
D | cmd_stat.cpp | 709 std::set<pid_t> tids; in ParseOptions() local 710 if (!GetValidThreadsFromThreadString(*value.str_value, &tids)) { in ParseOptions() 713 event_selection_set_.AddMonitoredThreads(tids); in ParseOptions()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 79 std::vector<pid_t> tids; in get_wchan_data() local 81 if (!android::procinfo::GetProcessTids(pid, &tids)) { in get_wchan_data() 87 for (int tid : tids) { in get_wchan_data()
|
/system/core/llkd/ |
D | libllkd.cpp | 397 std::unordered_map<pid_t, proc> tids; variable 591 auto search = tids.find(tid); in llkTidLookup() 592 if (search == tids.end()) { in llkTidLookup() 599 tids.erase(tid); in llkTidRemove() 604 auto it = tids.emplace(std::make_pair(tid, proc(tid, pid, ppid, comm, time, state, frozen))); in llkTidAlloc() 991 for (auto& it : tids) { in llkCheck() 1232 for (auto p = tids.begin(); p != tids.end();) { in llkCheck() 1248 p = tids.erase(p); in llkCheck() 1253 if (__predict_false(tids.empty())) { in llkCheck()
|
/system/extras/simpleperf/doc/ |
D | executable_commands_reference.md | 611 $ simpleperf report --tids 7394,7395
|