Searched refs:meta_info (Results 1 – 12 of 12) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_report_sample.cpp | 508 auto& meta_info = proto_record.meta_info(); in DumpProtobufReport() local 510 for (int i = 0; i < meta_info.event_type_size(); ++i) { in DumpProtobufReport() 511 FprintIndented(report_fp_, 1, "event_type: %s\n", meta_info.event_type(i).c_str()); in DumpProtobufReport() 513 if (meta_info.has_app_package_name()) { in DumpProtobufReport() 515 meta_info.app_package_name().c_str()); in DumpProtobufReport() 517 if (meta_info.has_app_type()) { in DumpProtobufReport() 518 FprintIndented(report_fp_, 1, "app_type: %s\n", meta_info.app_type().c_str()); in DumpProtobufReport() 520 if (meta_info.has_android_sdk_version()) { in DumpProtobufReport() 522 meta_info.android_sdk_version().c_str()); in DumpProtobufReport() 524 if (meta_info.has_android_build_type()) { in DumpProtobufReport() [all …]
|
D | cmd_record_test.cpp | 852 const std::unordered_map<std::string, std::string>& meta_info = reader->GetMetaInfoFeature(); in TestRecordingApps() local 853 auto it = meta_info.find("app_package_name"); in TestRecordingApps() 854 ASSERT_NE(it, meta_info.end()); in TestRecordingApps() 856 it = meta_info.find("app_type"); in TestRecordingApps() 857 ASSERT_NE(it, meta_info.end()); in TestRecordingApps() 1379 const std::unordered_map<std::string, std::string>& meta_info = reader->GetMetaInfoFeature(); in TEST() local 1380 auto it = meta_info.find("key1"); in TEST() 1381 ASSERT_NE(it, meta_info.end()); in TEST() 1383 it = meta_info.find("key2"); in TEST() 1384 ASSERT_NE(it, meta_info.end()); in TEST() [all …]
|
D | cmd_report_sample.proto | 80 // An index in meta_info.event_type, shows which event type current sample belongs to. 162 MetaInfo meta_info = 5; field
|
D | report_lib_interface.cpp | 336 auto& meta_info = record_file_reader_->GetMetaInfoFeature(); in OpenRecordFileIfNecessary() local 337 if (auto it = meta_info.find("trace_offcpu"); it != meta_info.end() && it->second == "true") { in OpenRecordFileIfNecessary()
|
D | record_file_reader.cpp | 259 auto& meta_info = GetMetaInfoFeature(); in UseRecordingEnvironment() local 260 if (auto it = meta_info.find("event_type_info"); it != meta_info.end()) { in UseRecordingEnvironment()
|
D | cmd_report.cpp | 856 auto& meta_info = record_file_reader_->GetMetaInfoFeature(); in ReadMetaInfoFromRecordFile() local 857 if (auto it = meta_info.find("trace_offcpu"); it != meta_info.end()) { in ReadMetaInfoFromRecordFile()
|
/system/extras/simpleperf/scripts/ |
D | gecko_profile_generator.py | 410 meta_info = lib.MetaInfo() 473 profile_timestamp = meta_info.get('timestamp') 481 "device": meta_info.get("product_props"), 482 "platform": meta_info.get("android_build_fingerprint"), 499 "oscpu": meta_info.get("android_build_fingerprint"), 500 "appBuildID": meta_info.get("app_versioncode"),
|
D | simpleperf_report_lib.py | 307 self.meta_info: Optional[Dict[str, str]] = None 525 if self.meta_info is None: 526 self.meta_info = {} 541 self.meta_info[str_list[i]] = str_list[i + 1] 542 return self.meta_info 588 self.meta_info: Optional[self.report_sample_pb2.MetaInfo] = None 633 self.meta_info = record.meta_info 634 if self.meta_info.trace_offcpu: 670 _check(self.meta_info, 672 if self.meta_info.trace_offcpu: [all …]
|
D | pprof_proto_generator.py | 312 meta_info = self.lib.MetaInfo() 313 if "app_versioncode" in meta_info: 314 comments.append("App Version Code:\n" + meta_info["app_versioncode"]) 317 if "timestamp" in meta_info: 318 self.profile.time_nanos = int(meta_info["timestamp"]) * 1000 * 1000 * 1000
|
D | report_html.py | 630 self.meta_info: Optional[Dict[str, str]] = None 649 self.meta_info = lib.MetaInfo() 871 timestamp = self.meta_info.get('timestamp') 878 product_props = self.meta_info.get('product_props') 884 record_info['androidVersion'] = self.meta_info.get('android_version', '') 885 record_info['androidBuildFingerprint'] = self.meta_info.get('android_build_fingerprint', '') 886 record_info['kernelVersion'] = self.meta_info.get('kernel_version', '')
|
/system/extras/simpleperf/scripts/test/ |
D | report_lib_test.py | 74 meta_info = self.report_lib.MetaInfo() 75 self.assertTrue("simpleperf_version" in meta_info) 76 self.assertEqual(meta_info["system_wide_collection"], "false") 77 self.assertEqual(meta_info["trace_offcpu"], "true") 78 self.assertEqual(meta_info["event_type_info"], "cpu-clock,1,0\nsched:sched_switch,2,91") 79 self.assertTrue("product_props" in meta_info)
|
D | app_test.py | 279 meta_info = report.MetaInfo() 280 self.assertEqual(meta_info.get('app_versioncode'), '1')
|