Home
last modified time | relevance | path

Searched refs:mapping_id (Results 1 – 25 of 38) sorted by relevance

12

/external/perfetto/src/trace_processor/util/
Dprofile_builder.cc358 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 …]
Dprofile_builder.h158 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/
Dperf_sample_switch_interp.textproto64 mapping_id: 2
73 mapping_id: 1
82 mapping_id: 1
91 mapping_id: 1
100 mapping_id: 1
Dheap_profile_no_symbols.textproto24 mapping_id: 1
30 mapping_id: 1
78 mapping_id: 1
84 mapping_id: 1
Dheap_profile_dump_max_legacy.textproto60 mapping_id: 1
66 mapping_id: 1
72 mapping_id: 1
78 mapping_id: 2
Dheap_profile.textproto60 mapping_id: 1
66 mapping_id: 1
72 mapping_id: 1
78 mapping_id: 2
Dheap_profile_dump_max.textproto60 mapping_id: 1
66 mapping_id: 1
72 mapping_id: 1
78 mapping_id: 2
Dheap_profile_data_local_tmp.textproto105 mapping_id: 2
148 mapping_id: 3
159 mapping_id: 3
Dheap_profile_jit.textproto40 mapping_id: 1
46 mapping_id: 1
Dheap_profile_tracker_twoheaps.textproto25 mapping_id: 1
Dheap_profile_tracker_new_stack.textproto25 mapping_id: 1
Dheap_profile_deobfuscate_memfd.textproto52 mapping_id: 1
Dheap_profile_deobfuscate.textproto52 mapping_id: 1
/external/perfetto/src/trace_processor/importers/proto/
Dstack_profile_tracker.cc128 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 …]
Dheap_profile_tracker_unittest.cc31 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()
Dprofile_packet_utils.h54 src_frame.mapping_id = entry.mapping_id(); in MakeSourceFrame()
/external/perfetto/src/trace_processor/metrics/sql/chrome/
Dchrome_unsymbolized_args.sql31 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/
Dinterned_args_helper.h57 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);
Dinterned_args_helper.cc111 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/
Dargs_translation_table.cc90 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()
Dargs_translation_table.h79 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/
Dnative_symbol_arg_incomplete.textproto21 mapping_id: 1
26 mapping_id: 1
31 mapping_id: 1
36 mapping_id: 1
Dnative_symbol_arg.textproto21 mapping_id: 1
26 mapping_id: 1
31 mapping_id: 1
36 mapping_id: 1
/external/perfetto/test/trace_processor/diff_tests/chrome/
Dunsymbolized_args.textproto37 mapping_id: 1
42 mapping_id: 2
/external/perfetto/src/traceconv/
Dpprof_builder.cc95 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()

12