/system/memory/libmeminfo/tools/ |
D | librank.cpp | 91 struct ProcessRecord { struct 93 ProcessRecord(pid_t pid) : pid_(-1), cmdline_("") { in ProcessRecord() function 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_record.cpp | 322 bool ProcessRecord(Record* record); 519 std::bind(&RecordCommand::ProcessRecord, this, std::placeholders::_1); in PrepareRecording() 1151 if (!ProcessRecord(&r)) { in DumpKernelSymbol() 1170 if (!ProcessRecord(&record)) { in DumpTracingData() 1183 if (!ProcessRecord(&mmap_record)) { in DumpKernelMaps() 1189 if (!ProcessRecord(&mmap_record)) { in DumpKernelMaps() 1247 if (!ProcessRecord(&record)) { in DumpProcessMaps() 1255 if (!ProcessRecord(&record)) { in DumpProcessMaps() 1269 if (!ProcessRecord(&comm_record)) { in DumpProcessMaps() 1277 bool RecordCommand::ProcessRecord(Record* record) { in ProcessRecord() function in RecordCommand [all …]
|
D | cmd_debug_unwind.cpp | 107 bool ProcessRecord(Record* record); 211 return ProcessRecord(record.get()); in UnwindRecordFile() 227 bool DebugUnwindCommand::ProcessRecord(Record* record) { in ProcessRecord() function in DebugUnwindCommand
|
D | cmd_trace_sched.cpp | 104 void ProcessRecord(Record& record); 200 ProcessRecord(*record); in ParseSchedEvents() 206 void TraceSchedCommand::ProcessRecord(Record& record) { in ProcessRecord() function in __anon8cf007b80111::TraceSchedCommand
|
D | cmd_dumprecord.cpp | 151 bool ProcessRecord(Record* r); 278 return ProcessRecord(r.get()); in DumpDataSection() 283 bool DumpRecordCommand::ProcessRecord(Record* r) { in ProcessRecord() function in __anonb955a9b80111::DumpRecordCommand
|
D | cmd_kmem.cpp | 333 bool ProcessRecord(std::unique_ptr<Record> record); 596 return ProcessRecord(std::move(record)); in ReadSampleTreeFromRecordFile() 607 bool KmemCommand::ProcessRecord(std::unique_ptr<Record> record) { in ProcessRecord() function in __anoncbe18e6d0111::KmemCommand
|
D | cmd_inject.cpp | 199 [this](auto r) { return ProcessRecord(r.get()); })) { in ProcessInputFile() 210 bool ProcessRecord(Record* r) { in ProcessRecord() function in __anon690e1f400111::InjectCommand
|
D | cmd_report_sample.cpp | 116 bool ProcessRecord(std::unique_ptr<Record> record); 208 return ProcessRecord(std::move(record)); in Run() 466 bool ReportSampleCommand::ProcessRecord(std::unique_ptr<Record> record) { in ProcessRecord() function in __anon5d136c400111::ReportSampleCommand
|
D | cmd_report.cpp | 452 bool ProcessRecord(std::unique_ptr<Record> record); 871 return ProcessRecord(std::move(record)); in ReadSampleTreeFromRecordFile() 882 bool ReportCommand::ProcessRecord(std::unique_ptr<Record> record) { in ProcessRecord() function in __anon235bfe9f0111::ReportCommand
|