/external/perfetto/src/trace_processor/util/ |
D | profile_builder.cc | 358 uint64_t mapping_id = WriteMappingIfNeeded(mapping); in WriteLocationIfNeeded() local 361 locations_[Location{mapping_id, static_cast<uint64_t>(frame.rel_pc()), in WriteLocationIfNeeded() 362 GetLines(frame, key.annotation, mapping_id)}]; in WriteLocationIfNeeded() 396 location->set_mapping_id(entry.first.mapping_id); in WriteLocations() 397 if (entry.first.mapping_id != 0) { in WriteLocations() 399 GetMapping(entry.first.mapping_id).memory_start); in WriteLocations() 414 uint64_t mapping_id) { in GetLines() argument 416 GetLinesForSymbolSetId(frame.symbol_set_id(), annotation, mapping_id); in GetLines() 422 WriteFunctionIfNeeded(frame, annotation, mapping_id); in GetLines() 433 uint64_t mapping_id) { in GetLinesForSymbolSetId() argument [all …]
|
D | profile_builder.h | 158 hasher.UpdateAll(loc.mapping_id, loc.rel_pc, loc.lines.size()); in operator() 166 uint64_t mapping_id; member 171 return mapping_id == other.mapping_id && rel_pc == other.rel_pc && 263 uint64_t mapping_id); 268 uint64_t mapping_id); 284 uint64_t mapping_id); 289 uint64_t mapping_id); 296 void WriteMapping(uint64_t mapping_id); 304 Mapping& GetMapping(uint64_t mapping_id) { in GetMapping() argument 305 return mappings_[static_cast<size_t>(mapping_id - 1)]; in GetMapping()
|
/external/perfetto/test/trace_processor/diff_tests/profiling/ |
D | perf_sample_switch_interp.textproto | 64 mapping_id: 2 73 mapping_id: 1 82 mapping_id: 1 91 mapping_id: 1 100 mapping_id: 1
|
D | heap_profile_no_symbols.textproto | 24 mapping_id: 1 30 mapping_id: 1 78 mapping_id: 1 84 mapping_id: 1
|
D | heap_profile_dump_max_legacy.textproto | 60 mapping_id: 1 66 mapping_id: 1 72 mapping_id: 1 78 mapping_id: 2
|
D | heap_profile.textproto | 60 mapping_id: 1 66 mapping_id: 1 72 mapping_id: 1 78 mapping_id: 2
|
D | heap_profile_dump_max.textproto | 60 mapping_id: 1 66 mapping_id: 1 72 mapping_id: 1 78 mapping_id: 2
|
D | heap_profile_data_local_tmp.textproto | 105 mapping_id: 2 148 mapping_id: 3 159 mapping_id: 3
|
D | heap_profile_jit.textproto | 40 mapping_id: 1 46 mapping_id: 1
|
D | heap_profile_tracker_twoheaps.textproto | 25 mapping_id: 1
|
D | heap_profile_tracker_new_stack.textproto | 25 mapping_id: 1
|
D | heap_profile_deobfuscate_memfd.textproto | 52 mapping_id: 1
|
D | heap_profile_deobfuscate.textproto | 52 mapping_id: 1
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | stack_profile_tracker.cc | 128 MappingId mapping_id = mappings->Insert(row).id; in AddMapping() local 130 row.name, row.build_id, mapping_id); in AddMapping() 131 cur_id = mapping_id; in AddMapping() 154 auto opt_mapping = FindOrInsertMapping(frame.mapping_id, intern_lookup); in AddFrame() 159 MappingId mapping_id = *opt_mapping; in AddFrame() local 162 mappings.name()[*mappings.id().IndexOf(mapping_id)]; in AddFrame() 165 tables::StackProfileFrameTable::Row row{str_id, mapping_id, in AddFrame() 176 context_->global_stack_profile_tracker->FindFrameIds(mapping_id, in AddFrame() 192 mapping_id, static_cast<uint64_t>(row.rel_pc), *cur_id); in AddFrame() 299 SourceMappingId mapping_id, in FindOrInsertMapping() argument [all …]
|
D | heap_profile_tracker_unittest.cc | 31 uint32_t mapping_id; member 86 sequence_stack_profile_tracker->AddMapping(packet.mapping_id, first_frame); in InsertMapping() 95 first_frame.mapping_id = packet.mapping_id; in InsertFrame() 289 frames[0].mapping_id = 0; in TEST() 293 frames[1].mapping_id = 0; in TEST() 297 frames[2].mapping_id = 1; in TEST() 301 frames[3].mapping_id = 2; in TEST()
|
D | profile_packet_utils.h | 54 src_frame.mapping_id = entry.mapping_id(); in MakeSourceFrame()
|
/external/perfetto/src/trace_processor/metrics/sql/chrome/ |
D | chrome_unsymbolized_args.sql | 31 SELECT arg_rel_pc.rel_pc AS rel_pc, arg_mapping_id.mapping_id AS mapping_id 42 int_value AS mapping_id 49 ON unsymbolized_arg.mapping_id = spm.id
|
/external/cronet/base/trace_event/ |
D | interned_args_helper.h | 57 uint64_t mapping_id = 0; member 61 UnsymbolizedSourceLocation(uint64_t mapping_id, uint64_t rel_pc) in UnsymbolizedSourceLocation() 62 : mapping_id(mapping_id), rel_pc(rel_pc) {} in UnsymbolizedSourceLocation() 65 return mapping_id == other.mapping_id && rel_pc == other.rel_pc; 89 return base::HashInts(module.mapping_id, module.rel_pc);
|
D | interned_args_helper.cc | 111 const auto mapping_id = InternedMapping::Get(ctx, module); in Get() local 115 base::trace_event::UnsymbolizedSourceLocation(mapping_id, rel_pc)); in Get() 126 msg->set_mapping_id(location.mapping_id); in Add()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | args_translation_table.cc | 90 std::optional<uint64_t> mapping_id; in TranslateArgs() local 160 mapping_id = arg.value.uint_value; in TranslateArgs() 169 EmitMojoMethodLocation(mapping_id, rel_pc, inserter); in TranslateArgs() 242 ArgsTranslationTable::TranslateNativeSymbol(MappingId mapping_id, in TranslateNativeSymbol() argument 245 native_symbol_to_location_.Find(std::make_pair(mapping_id, rel_pc)); in TranslateNativeSymbol() 258 std::optional<uint64_t> mapping_id, in EmitMojoMethodLocation() argument 261 if (!mapping_id || !rel_pc) { in EmitMojoMethodLocation() 264 const MappingId row_id(static_cast<uint32_t>(*mapping_id)); in EmitMojoMethodLocation() 281 Variadic::UnsignedInteger(*mapping_id)); in EmitMojoMethodLocation()
|
D | args_translation_table.h | 79 void AddNativeSymbolTranslationRule(MappingId mapping_id, 82 native_symbol_to_location_.Insert(std::make_pair(mapping_id, rel_pc), loc); 197 std::optional<SourceLocation> TranslateNativeSymbol(MappingId mapping_id, 205 void EmitMojoMethodLocation(std::optional<uint64_t> mapping_id,
|
/external/perfetto/test/trace_processor/diff_tests/translation/ |
D | native_symbol_arg_incomplete.textproto | 21 mapping_id: 1 26 mapping_id: 1 31 mapping_id: 1 36 mapping_id: 1
|
D | native_symbol_arg.textproto | 21 mapping_id: 1 26 mapping_id: 1 31 mapping_id: 1 36 mapping_id: 1
|
/external/perfetto/test/trace_processor/diff_tests/chrome/ |
D | unsymbolized_args.textproto | 37 mapping_id: 1 42 mapping_id: 2
|
/external/perfetto/src/traceconv/ |
D | pprof_builder.cc | 95 int64_t mapping_id = 0; // sqlite row id member 103 : mapping_id(map), in Location() 108 return std::tie(mapping_id, single_function_id, inlined_functions) == in operator ==() 109 std::tie(other.mapping_id, other.single_function_id, in operator ==() 130 hasher.Update(loc.mapping_id); in operator ()() 340 int64_t mapping_id = c_it.Get(2).AsLong(); in PreprocessLocations() local 347 Location loc(mapping_id, /*single_function_id=*/-1, {}); in PreprocessLocations() 495 seen_mappings->emplace(loc.mapping_id); in WriteLocations() 499 glocation->set_mapping_id(ToPprofId(loc.mapping_id)); in WriteLocations()
|