Searched refs:info_map (Results 1 – 10 of 10) sorted by relevance
/system/extras/simpleperf/ |
D | OfflineUnwinder_test.cpp | 94 std::unordered_map<std::string, std::string> info_map; in TEST() local 95 OfflineUnwinder::CollectMetaInfo(&info_map); in TEST() 96 if (auto it = info_map.find(OfflineUnwinder::META_KEY_ARM64_PAC_MASK); it != info_map.end()) { in TEST() 104 std::unordered_map<std::string, std::string> info_map; in TEST() local 105 info_map[OfflineUnwinder::META_KEY_ARM64_PAC_MASK] = "0xff00000000"; in TEST() 107 unwinder->LoadMetaInfo(info_map); in TEST()
|
D | record_file_test.cpp | 135 std::unordered_map<std::string, std::string> info_map; in TEST_F() local 138 info_map[s] = s + s; in TEST_F() 140 ASSERT_TRUE(writer->WriteMetaInfoFeature(info_map)); in TEST_F() 147 ASSERT_EQ(reader->GetMetaInfoFeature(), info_map); in TEST_F()
|
D | cmd_debug_unwind.cpp | 373 std::unordered_map<std::string, std::string> info_map; in WriteFeatureSections() local 375 info_map = reader_->GetMetaInfoFeature(); in WriteFeatureSections() 378 info_map["debug_unwind"] = "true"; in WriteFeatureSections() 379 info_map["debug_unwind_mem_before"] = stat_.mem_before_unwinding.ToString(); in WriteFeatureSections() 380 info_map["debug_unwind_mem_after"] = stat_.mem_after_unwinding.ToString(); in WriteFeatureSections() 381 if (!writer_->WriteMetaInfoFeature(info_map)) { in WriteFeatureSections()
|
D | OfflineUnwinder.cpp | 197 void OfflineUnwinder::CollectMetaInfo(std::unordered_map<std::string, std::string>* info_map in CollectMetaInfo() argument 211 (*info_map)[META_KEY_ARM64_PAC_MASK] = android::base::StringPrintf("0x%" PRIx64, pac_mask); in CollectMetaInfo() 217 const std::unordered_map<std::string, std::string>& info_map) { in LoadMetaInfo() argument 218 if (auto it = info_map.find(META_KEY_ARM64_PAC_MASK); it != info_map.end()) { in LoadMetaInfo()
|
D | cmd_record_test.cpp | 619 auto& info_map = reader->GetMetaInfoFeature(); in TEST() local 620 ASSERT_NE(info_map.find("simpleperf_version"), info_map.end()); in TEST() 621 ASSERT_NE(info_map.find("timestamp"), info_map.end()); in TEST() 623 ASSERT_NE(info_map.find("product_props"), info_map.end()); in TEST() 624 ASSERT_NE(info_map.find("android_version"), info_map.end()); in TEST() 657 auto info_map = reader->GetMetaInfoFeature(); in TEST() local 658 ASSERT_EQ(info_map["trace_offcpu"], "true"); in TEST() 684 auto info_map = reader->GetMetaInfoFeature(); in TEST() local 685 ASSERT_EQ(info_map["clockid"], "monotonic"); in TEST()
|
D | OfflineUnwinder_impl.h | 45 void LoadMetaInfo(const std::unordered_map<std::string, std::string>& info_map) override;
|
D | OfflineUnwinder.h | 72 static void CollectMetaInfo(std::unordered_map<std::string, std::string>* info_map);
|
D | cmd_record.cpp | 1765 std::unordered_map<std::string, std::string> info_map; in DumpMetaInfoFeature() local 1766 info_map["simpleperf_version"] = GetSimpleperfVersion(); in DumpMetaInfoFeature() 1767 info_map["system_wide_collection"] = system_wide_collection_ ? "true" : "false"; in DumpMetaInfoFeature() 1768 info_map["trace_offcpu"] = trace_offcpu_ ? "true" : "false"; in DumpMetaInfoFeature() 1771 info_map["event_type_info"] = ScopedEventTypes::BuildString(event_selection_set_.GetEvents()); in DumpMetaInfoFeature() 1773 info_map["product_props"] = android::base::StringPrintf("%s:%s:%s", in DumpMetaInfoFeature() 1777 info_map["android_version"] = android::base::GetProperty("ro.build.version.release", ""); in DumpMetaInfoFeature() 1779 info_map["app_package_name"] = app_package_name_; in DumpMetaInfoFeature() 1782 info_map["clockid"] = clockid_; in DumpMetaInfoFeature() 1783 info_map["timestamp"] = std::to_string(time(nullptr)); in DumpMetaInfoFeature() [all …]
|
D | record_file_writer.cpp | 399 const std::unordered_map<std::string, std::string>& info_map) { in WriteMetaInfoFeature() argument 401 for (auto& pair : info_map) { in WriteMetaInfoFeature() 407 for (auto& pair : info_map) { in WriteMetaInfoFeature()
|
D | record_file.h | 61 bool WriteMetaInfoFeature(const std::unordered_map<std::string, std::string>& info_map);
|