/system/memory/libmeminfo/tools/ |
D | librank.cpp | 91 struct ProcessRecord { struct 93 ProcessRecord(pid_t pid) : pid_(-1), cmdline_("") { in ProcessRecord() argument 110 ~ProcessRecord() = default; 135 const std::map<pid_t, ProcessRecord>& processes() const { return procs_; } in processes() argument 137 void AddUsage(const ProcessRecord& proc, const MemUsage& mem_usage) { in AddUsage() 138 auto [it, inserted] = procs_.insert(std::pair<pid_t, ProcessRecord>(proc.pid(), proc)); in AddUsage() 146 std::map<pid_t, ProcessRecord> procs_; 186 ProcessRecord proc(pid); in scan_libs_per_process() 257 std::string to_csv(LibRecord& l, ProcessRecord& p) { in to_csv() 306 std::string to_json(LibRecord& l, ProcessRecord& p) { in to_json() [all …]
|
D | procrank.cpp | 41 struct ProcessRecord { struct 43 ProcessRecord(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0) in ProcessRecord() function 181 static bool count_swap_offsets(const ProcessRecord& proc, in count_swap_offsets() 226 static void print_process_record(std::stringstream& ss, ProcessRecord& proc) { in print_process_record() 252 static void print_processes(std::stringstream& ss, std::vector<ProcessRecord>& procs, in print_processes() 337 auto pss_sort = [](ProcessRecord& a, ProcessRecord& b) { in main() 343 auto uss_sort = [](ProcessRecord& a, ProcessRecord& b) { in main() 349 auto rss_sort = [](ProcessRecord& a, ProcessRecord& b) { in main() 355 auto vss_sort = [](ProcessRecord& a, ProcessRecord& b) { in main() 361 auto swap_sort = [](ProcessRecord& a, ProcessRecord& b) { in main() [all …]
|
/system/extras/simpleperf/ |
D | cmd_debug_unwind.cpp | 240 [&](std::unique_ptr<Record> r) { return ProcessRecord(std::move(r)); })) { in Process() 250 bool ProcessRecord(std::unique_ptr<Record> r) { in ProcessRecord() function in simpleperf::__anonc541a1a50111::SampleUnwinder 360 [&](std::unique_ptr<Record> r) { return ProcessRecord(std::move(r)); })) { in Process() 366 bool ProcessRecord(std::unique_ptr<Record> r) { in ProcessRecord() function in simpleperf::__anonc541a1a50111::TestFileGenerator 503 [&](std::unique_ptr<Record> r) { return ProcessRecord(std::move(r)); })) { in Process() 510 bool ProcessRecord(std::unique_ptr<Record> r) { in ProcessRecord() function in simpleperf::__anonc541a1a50111::ReportGenerator
|
D | cmd_monitor.cpp | 166 bool ProcessRecord(Record* record); 245 auto callback = std::bind(&MonitorCommand::ProcessRecord, this, std::placeholders::_1); in PrepareMonitoring() 257 map_record_reader_->SetCallback([this](Record* r) { return ProcessRecord(r); }); in PrepareMonitoring() 493 bool MonitorCommand::ProcessRecord(Record* record) { in ProcessRecord() function in simpleperf::__anon8c2e05d20111::MonitorCommand
|
D | cmd_merge.cpp | 287 return ProcessRecord(record.get()); in MergeDataSection() 296 bool ProcessRecord(Record* record) { return writer_->WriteRecord(*record); } in ProcessRecord() function in simpleperf::__anon017897fa0111::MergeCommand 315 if (!ProcessRecord(&record)) { in WriteGapInDataSection()
|
D | cmd_trace_sched.cpp | 103 void ProcessRecord(Record& record); 203 ProcessRecord(*record); in ParseSchedEvents() 209 void TraceSchedCommand::ProcessRecord(Record& record) { in ProcessRecord() function in simpleperf::__anon0b2fab1f0111::TraceSchedCommand
|
D | cmd_record.cpp | 353 bool ProcessRecord(Record* record); 577 auto callback = std::bind(&RecordCommand::ProcessRecord, this, std::placeholders::_1); in PrepareRecording() 1226 map_record_reader_->SetCallback([this](Record* r) { return ProcessRecord(r); }); in CreateAndInitRecordFile() 1253 if (!ProcessRecord(&r)) { in DumpKernelSymbol() 1271 if (!ProcessRecord(&record)) { in DumpTracingData() 1318 bool RecordCommand::ProcessRecord(Record* record) { in ProcessRecord() function in simpleperf::__anonf6bdce290111::RecordCommand 1355 return ProcessRecord(&auxtrace_info); in DumpAuxTraceInfo() 1456 if (!ProcessRecord(&record)) { in ProcessJITDebugInfo() 1466 if (!ProcessRecord(&record)) { in ProcessJITDebugInfo()
|
D | cmd_dumprecord.cpp | 200 bool ProcessRecord(Record* r); 331 auto record_callback = [&](std::unique_ptr<Record> r) { return ProcessRecord(r.get()); }; in DumpDataSection() 335 bool DumpRecordCommand::ProcessRecord(Record* r) { in ProcessRecord() function in simpleperf::__anonc4eafc3f0111::DumpRecordCommand
|
D | cmd_kmem.cpp | 316 bool ProcessRecord(std::unique_ptr<Record> record); 570 [this](std::unique_ptr<Record> record) { return ProcessRecord(std::move(record)); })) { in ReadSampleTreeFromRecordFile() 580 bool KmemCommand::ProcessRecord(std::unique_ptr<Record> record) { in ProcessRecord() function in simpleperf::__anonbee947b40111::KmemCommand
|
D | cmd_report_sample.cpp | 167 bool ProcessRecord(std::unique_ptr<Record> record); 258 [this](std::unique_ptr<Record> record) { return ProcessRecord(std::move(record)); })) { in Run() 525 bool ReportSampleCommand::ProcessRecord(std::unique_ptr<Record> record) { in ProcessRecord() function in simpleperf::__anon69c985670111::ReportSampleCommand
|
D | cmd_inject.cpp | 231 [this](auto r) { return ProcessRecord(r.get()); })) { in ProcessInputFile() 242 bool ProcessRecord(Record* r) { in ProcessRecord() function in simpleperf::__anon3ce946470111::InjectCommand
|
D | cmd_report.cpp | 444 bool ProcessRecord(std::unique_ptr<Record> record); 858 [this](std::unique_ptr<Record> record) { return ProcessRecord(std::move(record)); })) { in ReadSampleTreeFromRecordFile() 868 bool ReportCommand::ProcessRecord(std::unique_ptr<Record> record) { in ProcessRecord() function in simpleperf::__anonf73725a60111::ReportCommand
|