Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 20 of 20) sorted by relevance

/system/extras/memtrack/
Dmemtrack.cpp154 cur_[cmd_name_].pids.push_back(pid); in getInformation()
168 it->second.pids.clear(); in scan()
207 if (it->second.pids.size() > all_[it->first].max_num_pids) { in scan()
208 all_[it->first].max_num_pids = it->second.pids.size(); in scan()
211 all_[it->first].pids = it->second.pids; in scan()
248 if ((*it)->pids.size() > 0) { in dumpToLog()
250 for (std::vector<int>::const_iterator pid_it = (*it)->pids.begin(); in dumpToLog()
251 pid_it != (*it)->pids.end(); ++pid_it) { in dumpToLog()
Dmemtrack.h63 std::vector<int> pids; member
70 std::vector<int> pids; member
/system/vold/
DProcess.cpp85 std::unordered_set<pid_t> pids; in KillProcessesWithOpenFiles() local
121 pids.insert(pid); in KillProcessesWithOpenFiles()
125 for (const auto& pid : pids) { in KillProcessesWithOpenFiles()
130 return pids.size(); in KillProcessesWithOpenFiles()
/system/core/init/
Dsigchld_handler.cpp114 void WaitToBeReaped(const std::vector<pid_t>& pids, std::chrono::milliseconds timeout) { in WaitToBeReaped() argument
116 std::vector<pid_t> alive_pids(pids.begin(), pids.end()); in WaitToBeReaped()
130 LOG(INFO) << "Waiting for " << pids.size() << " pids to be reaped took " << t << " with " in WaitToBeReaped()
Dsubcontext_test.cpp60 auto pids = Split(result.error().message(), " "); in TEST() local
61 ASSERT_EQ(2U, pids.size()); in TEST()
63 EXPECT_NE(our_pid, pids[0]); in TEST()
64 EXPECT_EQ(our_pid, pids[1]); in TEST()
Dsigchld_handler.h28 void WaitToBeReaped(const std::vector<pid_t>& pids, std::chrono::milliseconds timeout);
Dreboot.cpp510 std::vector<pid_t> pids; in StopServices() local
511 pids.reserve(services.size()); in StopServices()
514 pids.push_back(s->pid()); in StopServices()
523 WaitToBeReaped(pids, timeout); in StopServices()
/system/memory/libmemtrack/
Dmemtrack_test.cpp43 std::vector<pid_t> pids; in main() local
60 pids.emplace_back(pid); in main()
63 for (auto& pid : pids) { in main()
/system/memory/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp68 pid_set.insert(buf.pids().begin(), buf.pids().end()); in PrintDmaBufTable()
138 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess()
164 proc_pss / 1024, buf.pids().size(), static_cast<uintmax_t>(buf.inode())); in PrintDmaBufPerProcess()
/system/core/libprocessgroup/
Dprocessgroup.cpp249 std::set<pid_t> pids; in DoKillProcessGroupOnce() local
266 pids.emplace(pid); in DoKillProcessGroupOnce()
271 for (auto it = pids.begin(); it != pids.end();) { in DoKillProcessGroupOnce()
274 it = pids.erase(it); in DoKillProcessGroupOnce()
291 for (const auto pid : pids) { in DoKillProcessGroupOnce()
/system/memory/libmeminfo/tools/
Dprocrank.cpp165 static bool read_all_pids(std::vector<pid_t>* pids, std::function<bool(pid_t pid)> for_each_pid) { in read_all_pids() argument
166 pids->clear(); in read_all_pids()
175 pids->emplace_back(pid); in read_all_pids()
428 std::vector<pid_t> pids; in main() local
431 if (!read_all_pids(&pids, in main()
492 if (!read_all_pids(&pids, mark_swap_usage)) { in main()
/system/memory/libmeminfo/libdmabufinfo/include/dmabufinfo/
Ddmabufinfo.h59 const std::set<pid_t>& pids() const { return pids_; } in pids() function
/system/extras/simpleperf/
Dcmd_stat.cpp521 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in Run() local
522 event_selection_set_.AddMonitoredProcesses(pids); in Run()
691 std::set<pid_t> pids; in ParseOptions() local
692 if (!GetValidThreadsFromThreadString(*value.str_value, &pids)) { in ParseOptions()
695 event_selection_set_.AddMonitoredProcesses(pids); in ParseOptions()
Dcmd_record.cpp480 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in PrepareRecording() local
481 event_selection_set_.AddMonitoredProcesses(pids); in PrepareRecording()
572 std::set<pid_t> pids = event_selection_set_.GetMonitoredProcesses(); in PrepareRecording() local
576 pids.insert(pid); in PrepareRecording()
579 for (pid_t pid : pids) { in PrepareRecording()
844 std::set<pid_t> pids; in ParseOptions() local
845 if (!GetValidThreadsFromThreadString(*value.str_value, &pids)) { in ParseOptions()
848 event_selection_set_.AddMonitoredProcesses(pids); in ParseOptions()
Denvironment.cpp565 std::vector<pid_t> pids = GetAllProcesses(); in WaitForAppProcesses() local
566 for (pid_t pid : pids) { in WaitForAppProcesses()
/system/extras/ioblame/
DREADME4 files that running pids are doing IO to (with the aggregate amount of
18 1) File view : For each file, it gives a list of pids that are doing
20 the aggregate amount of IO done to the file by all pids).
89 Finally, it reports the total amount of file data IO done by pids and
/system/libhidl/transport/
DServiceManagement.cpp339 std::map<std::string, std::set<pid_t>> pids; in fetchPidsForPassthroughLibraries() local
363 pids[libFileName].insert(pid); in fetchPidsForPassthroughLibraries()
368 std::vector<pid_t>{pids[pair.first].begin(), pids[pair.first].end()}; in fetchPidsForPassthroughLibraries()
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal132 * Special values for InstanceDebugInfo pids.
/system/core/adb/
DSERVICES.TXT223 This is used to send the list of JDWP pids periodically to the client.
/system/extras/simpleperf/doc/
Dexecutable_commands_reference.md608 $ simpleperf report --pids 7394,7395