Home
last modified time | relevance | path

Searched refs:info_map (Results 1 – 10 of 10) sorted by relevance

/system/extras/simpleperf/
DOfflineUnwinder_test.cpp94 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()
Drecord_file_test.cpp139 std::unordered_map<std::string, std::string> info_map; in TEST_F() local
142 info_map[s] = s + s; in TEST_F()
144 ASSERT_TRUE(writer->WriteMetaInfoFeature(info_map)); in TEST_F()
151 ASSERT_EQ(reader->GetMetaInfoFeature(), info_map); in TEST_F()
DOfflineUnwinder.cpp216 void OfflineUnwinder::CollectMetaInfo(std::unordered_map<std::string, std::string>* info_map in CollectMetaInfo() argument
230 (*info_map)[META_KEY_ARM64_PAC_MASK] = android::base::StringPrintf("0x%" PRIx64, pac_mask); in CollectMetaInfo()
236 const std::unordered_map<std::string, std::string>& info_map) { in LoadMetaInfo() argument
237 if (auto it = info_map.find(META_KEY_ARM64_PAC_MASK); it != info_map.end()) { in LoadMetaInfo()
DOfflineUnwinder_impl.h45 void LoadMetaInfo(const std::unordered_map<std::string, std::string>& info_map) override;
Dcmd_record_test.cpp507 auto& info_map = reader->GetMetaInfoFeature(); in TEST() local
508 ASSERT_NE(info_map.find("simpleperf_version"), info_map.end()); in TEST()
509 ASSERT_NE(info_map.find("timestamp"), info_map.end()); in TEST()
511 ASSERT_NE(info_map.find("product_props"), info_map.end()); in TEST()
512 ASSERT_NE(info_map.find("android_version"), info_map.end()); in TEST()
546 auto info_map = reader->GetMetaInfoFeature(); in TEST() local
547 ASSERT_EQ(info_map["trace_offcpu"], "true"); in TEST()
572 auto info_map = reader->GetMetaInfoFeature(); in TEST() local
573 ASSERT_EQ(info_map["clockid"], "monotonic"); in TEST()
Dcmd_record.cpp1904 std::unordered_map<std::string, std::string> info_map = extra_meta_info_; in DumpMetaInfoFeature() local
1905 info_map["simpleperf_version"] = GetSimpleperfVersion(); in DumpMetaInfoFeature()
1906 info_map["system_wide_collection"] = system_wide_collection_ ? "true" : "false"; in DumpMetaInfoFeature()
1907 info_map["trace_offcpu"] = trace_offcpu_ ? "true" : "false"; in DumpMetaInfoFeature()
1910 info_map["event_type_info"] = ScopedEventTypes::BuildString(event_selection_set_.GetEvents()); in DumpMetaInfoFeature()
1912 info_map["product_props"] = android::base::StringPrintf( in DumpMetaInfoFeature()
1916 info_map["android_version"] = android::base::GetProperty("ro.build.version.release", ""); in DumpMetaInfoFeature()
1917 info_map["android_sdk_version"] = android::base::GetProperty("ro.build.version.sdk", ""); in DumpMetaInfoFeature()
1918 info_map["android_build_type"] = android::base::GetProperty("ro.build.type", ""); in DumpMetaInfoFeature()
1920 info_map["app_package_name"] = app_package_name_; in DumpMetaInfoFeature()
[all …]
DOfflineUnwinder.h73 static void CollectMetaInfo(std::unordered_map<std::string, std::string>* info_map);
Drecord_file_writer.cpp407 const std::unordered_map<std::string, std::string>& info_map) { in WriteMetaInfoFeature() argument
409 for (auto& pair : info_map) { in WriteMetaInfoFeature()
415 for (auto& pair : info_map) { in WriteMetaInfoFeature()
Dcmd_inject.cpp216 const auto& info_map = record_file_reader_->GetMetaInfoFeature(); in ProcessInputFile() local
217 if (auto it = info_map.find("recording_process"); it == info_map.end()) { in ProcessInputFile()
Drecord_file.h89 bool WriteMetaInfoFeature(const std::unordered_map<std::string, std::string>& info_map);