/system/extras/simpleperf/ |
D | RecordFilter.cpp | 28 if (auto pids = GetTidsFromString(*value.str_value, false); pids) { in ParseOptions() local 29 AddPids(pids.value(), exclude); in ParseOptions() 58 void RecordFilter::AddPids(const std::set<pid_t>& pids, bool exclude) { in AddPids() argument 61 cond.pids.insert(pids.begin(), pids.end()); in AddPids() 105 if (condition.pids.count(r->tid_data.pid) == 1) { in CheckCondition()
|
D | RecordFilter.h | 52 std::set<pid_t> pids; member 66 void AddPids(const std::set<pid_t>& pids, bool exclude);
|
D | cmd_stat.cpp | 518 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in Run() local 519 event_selection_set_.AddMonitoredProcesses(pids); in Run() 681 if (auto pids = GetTidsFromString(*value.str_value, true); pids) { in ParseOptions() local 682 event_selection_set_.AddMonitoredProcesses(pids.value()); in ParseOptions()
|
D | cmd_record.cpp | 540 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); in PrepareRecording() local 541 event_selection_set_.AddMonitoredProcesses(pids); in PrepareRecording() 628 std::set<pid_t> pids = event_selection_set_.GetMonitoredProcesses(); in PrepareRecording() local 632 pids.insert(pid); in PrepareRecording() 635 for (pid_t pid : pids) { in PrepareRecording() 937 if (auto pids = GetTidsFromString(*value.str_value, true); pids) { in ParseOptions() local 938 event_selection_set_.AddMonitoredProcesses(pids.value()); in ParseOptions()
|
D | RecordFilter_test.cpp | 163 ASSERT_EQ(filter.GetCondition(exclude).pids, std::set<pid_t>({1, 2, 3})); in TEST_F()
|
D | cmd_report.cpp | 605 if (auto pids = GetTidsFromString(*value.str_value, false); pids) { in ParseOptions() local 606 sample_tree_builder_options_.pid_filter.insert(pids->begin(), pids->end()); in ParseOptions()
|
/system/vold/ |
D | Process.cpp | 88 std::unordered_set<pid_t> pids; in KillProcessesWithTmpfsMounts() local 117 pids.insert(pid); in KillProcessesWithTmpfsMounts() 123 for (const auto& pid : pids) { in KillProcessesWithTmpfsMounts() 129 return pids.size(); in KillProcessesWithTmpfsMounts() 133 std::unordered_set<pid_t> pids; in KillProcessesWithOpenFiles() local 170 pids.insert(pid); in KillProcessesWithOpenFiles() 177 for (const auto& pid : pids) { in KillProcessesWithOpenFiles() 190 return pids.size(); in KillProcessesWithOpenFiles()
|
/system/extras/memtrack/ |
D | memtrack.cpp | 154 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()
|
D | memtrack.h | 63 std::vector<int> pids; member 70 std::vector<int> pids; member
|
/system/core/init/ |
D | sigchld_handler.cpp | 114 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()
|
D | subcontext_test.cpp | 60 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()
|
D | sigchld_handler.h | 28 void WaitToBeReaped(const std::vector<pid_t>& pids, std::chrono::milliseconds timeout);
|
D | reboot.cpp | 523 std::vector<pid_t> pids; in StopServices() local 524 pids.reserve(services.size()); in StopServices() 530 pids.push_back(s->pid()); in StopServices() 539 WaitToBeReaped(pids, timeout); in StopServices()
|
/system/memory/libmemtrack/ |
D | memtrack_test.cpp | 43 std::vector<pid_t> pids; in main() local 60 pids.emplace_back(pid); in main() 63 for (auto& pid : pids) { in main()
|
/system/iorap/src/compiler/ |
D | main.cc | 100 std::vector<int32_t> pids; in Main() local 154 pids.push_back(pid); in Main() 180 if (!pids.empty() && pids.size() != arg_input_filenames.size()) { in Main() 236 MakeCompilationInputs(arg_input_filenames, timestamp_limit_ns, pids); in Main()
|
D | compiler.h | 69 std::vector<int32_t> pids);
|
D | compiler.cc | 844 std::vector<int32_t> pids){ in MakeCompilationInputs() argument 854 if (pids.empty()) { in MakeCompilationInputs() 856 pids.push_back(-1); in MakeCompilationInputs() 863 file_infos.push_back({input_file_names[i], timestamp_limit_ns[i], pids[i]}); in MakeCompilationInputs()
|
/system/memory/libmeminfo/libdmabufinfo/tools/ |
D | dmabuf_dump.cpp | 71 pid_set.insert(buf.pids().begin(), buf.pids().end()); in PrintDmaBufTable() 141 for (auto pid : buf.pids()) { in PrintDmaBufPerProcess() 167 proc_pss / 1024, buf.pids().size(), static_cast<uintmax_t>(buf.inode())); in PrintDmaBufPerProcess()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 289 std::set<pid_t> pids; in DoKillProcessGroupOnce() local 306 pids.emplace(pid); in DoKillProcessGroupOnce() 311 for (auto it = pids.begin(); it != pids.end();) { in DoKillProcessGroupOnce() 314 it = pids.erase(it); in DoKillProcessGroupOnce() 331 for (const auto pid : pids) { in DoKillProcessGroupOnce()
|
/system/memory/libmeminfo/tools/ |
D | procrank.cpp | 165 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/ |
D | dmabufinfo.h | 59 const std::set<pid_t>& pids() const { return pids_; } in pids() function
|
/system/extras/ioblame/ |
D | README | 4 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/ |
D | ServiceManagement.cpp | 304 std::map<std::string, std::set<pid_t>> pids; in fetchPidsForPassthroughLibraries() local 328 pids[libFileName].insert(pid); in fetchPidsForPassthroughLibraries() 333 std::vector<pid_t>{pids[pair.first].begin(), pids[pair.first].end()}; in fetchPidsForPassthroughLibraries()
|
/system/iorap/src/maintenance/ |
D | controller.cc | 93 std::vector<int32_t> pids; member 103 pids.push_back(perfetto_trace.pid); in CompilerForkParameters() 114 common::AppendArgsRepeatedly(argv, "--pid", params.pids); in MakeCompilerParams()
|
/system/libhidl/transport/manager/1.0/ |
D | IServiceManager.hal | 132 * Special values for InstanceDebugInfo pids.
|