Home
last modified time | relevance | path

Searched refs:rel_pc (Results 1 – 25 of 56) sorted by relevance

123

/external/perfetto/src/trace_processor/importers/common/
Dvirtual_memory_mapping.h72 uint64_t ToAddress(uint64_t rel_pc) const { in ToAddress() argument
73 return rel_pc + (memory_range_.start() - offset_ - load_bias_); in ToAddress()
80 FrameId InternFrame(uint64_t rel_pc, base::StringView function_name);
83 std::vector<FrameId> FindFrameIds(uint64_t rel_pc) const;
94 std::pair<FrameId, bool> InternFrameImpl(uint64_t rel_pc,
109 uint64_t rel_pc; member
116 return rel_pc == o.rel_pc && name_id == o.name_id;
122 base::Hasher::Combine(k.rel_pc, k.name_id.raw_id())); in operator()
Dvirtual_memory_mapping.cc85 FrameId VirtualMemoryMapping::InternFrame(uint64_t rel_pc, in InternFrame() argument
88 jit_cache_ ? jit_cache_->InternFrame(this, rel_pc, function_name) in InternFrame()
89 : InternFrameImpl(rel_pc, function_name); in InternFrame()
91 frames_by_rel_pc_[rel_pc].push_back(frame_id); in InternFrame()
97 std::vector<FrameId> VirtualMemoryMapping::FindFrameIds(uint64_t rel_pc) const { in FindFrameIds()
98 if (auto* res = frames_by_rel_pc_.Find(rel_pc); res != nullptr) { in FindFrameIds()
105 uint64_t rel_pc, in InternFrameImpl() argument
107 const FrameKey frame_key{rel_pc, in InternFrameImpl()
116 {frame_key.name_id, mapping_id_, static_cast<int64_t>(rel_pc)}) in InternFrameImpl()
Djit_cache.h85 uint64_t rel_pc,
97 uint64_t rel_pc; member
101 base::Hasher::Combine(k.mapping_id.value, k.rel_pc)); in operator()
105 return mapping_id == other.mapping_id && rel_pc == other.rel_pc;
Dargs_translation_table.cc95 std::optional<uint64_t> rel_pc; in TranslateArgs() local
179 rel_pc = arg.value.uint_value; in TranslateArgs()
184 EmitMojoMethodLocation(mapping_id, rel_pc, inserter); in TranslateArgs()
270 uint64_t rel_pc) const { in TranslateNativeSymbol()
272 native_symbol_to_location_.Find(std::make_pair(mapping_id, rel_pc)); in TranslateNativeSymbol()
286 std::optional<uint64_t> rel_pc, in EmitMojoMethodLocation() argument
288 if (!mapping_id || !rel_pc) { in EmitMojoMethodLocation()
292 const auto loc = TranslateNativeSymbol(row_id, *rel_pc); in EmitMojoMethodLocation()
310 Variadic::UnsignedInteger(*rel_pc)); in EmitMojoMethodLocation()
Dstack_profile_tracker.h72 uint64_t rel_pc; member
75 return mapping_id == o.mapping_id && rel_pc == o.rel_pc;
83 base::Hasher::Combine(o.mapping_id.value, o.rel_pc)); in operator()
Djit_cache.cc58 static_cast<int64_t>(frame_key.rel_pc), symbol_set_id_}) in InternFrame()
136 uint64_t rel_pc, in InternFrame() argument
138 FrameKey key{mapping->mapping_id(), rel_pc}; in InternFrame()
140 if (auto it = functions_.Find(mapping->ToAddress(rel_pc)); in InternFrame()
156 "[+" + base::Uint64ToHexString(rel_pc) + "]") in InternFrame()
158 key.mapping_id, static_cast<int64_t>(rel_pc)}) in InternFrame()
Dargs_translation_table.h83 uint64_t rel_pc,
85 native_symbol_to_location_.Insert(std::make_pair(mapping_id, rel_pc), loc);
213 uint64_t rel_pc) const;
221 std::optional<uint64_t> rel_pc,
/external/perfetto/src/trace_processor/metrics/sql/chrome/
Dchrome_unsymbolized_args.sql26 'address', unsymbolized_arg.rel_pc,
31 SELECT arg_rel_pc.rel_pc AS rel_pc, arg_mapping_id.mapping_id AS mapping_id
34 SELECT arg_set_id, int_value AS rel_pc
/external/cronet/stable/base/trace_event/
Dinterned_args_helper.h59 uint64_t rel_pc = 0; member
62 UnsymbolizedSourceLocation(uint64_t mapping_id, uint64_t rel_pc) in UnsymbolizedSourceLocation()
63 : mapping_id(mapping_id), rel_pc(rel_pc) {} in UnsymbolizedSourceLocation()
66 return mapping_id == other.mapping_id && rel_pc == other.rel_pc;
90 return base::HashInts(module.mapping_id, module.rel_pc);
Dinterned_args_helper.cc136 const uintptr_t rel_pc = address - module->GetBaseAddress(); in Get() local
139 base::trace_event::UnsymbolizedSourceLocation(mapping_id, rel_pc)); in Get()
151 msg->set_rel_pc(location.rel_pc); in Add()
/external/cronet/tot/base/trace_event/
Dinterned_args_helper.h59 uint64_t rel_pc = 0; member
62 UnsymbolizedSourceLocation(uint64_t mapping_id, uint64_t rel_pc) in UnsymbolizedSourceLocation()
63 : mapping_id(mapping_id), rel_pc(rel_pc) {} in UnsymbolizedSourceLocation()
66 return mapping_id == other.mapping_id && rel_pc == other.rel_pc;
90 return base::HashInts(module.mapping_id, module.rel_pc);
Dinterned_args_helper.cc136 const uintptr_t rel_pc = address - module->GetBaseAddress(); in Get() local
139 base::trace_event::UnsymbolizedSourceLocation(mapping_id, rel_pc)); in Get()
151 msg->set_rel_pc(location.rel_pc); in Add()
/external/perfetto/test/trace_processor/diff_tests/metrics/profiling/
Dheap_profile_no_symbols.textproto25 rel_pc: 0x1000
31 rel_pc: 0x2000
79 rel_pc: 0x1000
85 rel_pc: 0x2000
/external/perfetto/test/trace_processor/diff_tests/parser/profiling/
Dheap_profile_dump_max_legacy.textproto61 rel_pc: 0x1000
67 rel_pc: 0x2000
73 rel_pc: 0x3000
79 rel_pc: 0x4000
Dheap_profile_dump_max.textproto61 rel_pc: 0x1000
67 rel_pc: 0x2000
73 rel_pc: 0x3000
79 rel_pc: 0x4000
Dheap_profile.textproto61 rel_pc: 0x1000
67 rel_pc: 0x2000
73 rel_pc: 0x3000
79 rel_pc: 0x4000
Dheap_profile_data_local_tmp.textproto106 rel_pc: 254632
149 rel_pc: 4476
160 rel_pc: 4440
Dheap_profile_jit.textproto41 rel_pc: 0x1000
47 rel_pc: 0x1000
/external/perfetto/src/profiling/common/
Dcallstack_trie.h62 : mapping(m), function_name(fn_name), rel_pc(pc) {} in Frame()
65 uint64_t rel_pc; member
68 return std::tie(mapping, function_name, rel_pc) <
69 std::tie(other.mapping, other.function_name, other.rel_pc);
73 return std::tie(mapping, function_name, rel_pc) ==
74 std::tie(other.mapping, other.function_name, other.rel_pc);
220 h ^= std::hash<uint64_t>{}(frame.rel_pc);
/external/perfetto/test/trace_processor/diff_tests/parser/translated_args/
Dnative_symbol_arg_incomplete.textproto22 rel_pc: 123
27 rel_pc: 234
32 rel_pc: 345
37 rel_pc: 456
Dnative_symbol_arg.textproto22 rel_pc: 123
27 rel_pc: 234
32 rel_pc: 345
37 rel_pc: 456
/external/perfetto/src/profiling/perf/
Dframe_pointer_unwinder.cc81 frame.rel_pc = pc; in TryUnwind()
88 frame.rel_pc = relative_pc - pc_adjustment; in TryUnwind()
91 !elf->GetFunctionName(frame.rel_pc, &frame.function_name, in TryUnwind()
/external/perfetto/src/trace_processor/importers/proto/
Dprofile_packet_sequence_state_unittest.cc109 first_frame.rel_pc = kFrameRelPc; in InsertFrame()
165 EXPECT_THAT(frames[0].rel_pc(), kFrameRelPc); in TEST_F()
293 frames[0].rel_pc = 123; in TEST()
297 frames[1].rel_pc = 123; in TEST()
301 frames[2].rel_pc = 123; in TEST()
305 frames[3].rel_pc = 123; in TEST()
Dprofile_packet_utils.h57 src_frame.rel_pc = entry.rel_pc(); in MakeSourceFrame()
/external/perfetto/test/trace_processor/diff_tests/metrics/chrome/
Dunsymbolized_args.textproto38 rel_pc: 123
43 rel_pc: 234

123