Home
last modified time | relevance | path

Searched refs:Unwinder (Results 1 – 16 of 16) sorted by relevance

/system/unwinding/libunwindstack/include/unwindstack/
DUnwinder.h54 class Unwinder {
56 Unwinder(size_t max_frames, Maps* maps, Regs* regs, std::shared_ptr<Memory> process_memory) in Unwinder() function
62 Unwinder(size_t max_frames, Maps* maps, std::shared_ptr<Memory> process_memory) in Unwinder() function
65 virtual ~Unwinder() = default;
123 Unwinder(size_t max_frames, Maps* maps = nullptr) : max_frames_(max_frames), maps_(maps) {} in max_frames_()
124 Unwinder(size_t max_frames, ArchEnum arch, Maps* maps = nullptr)
126 Unwinder(size_t max_frames, ArchEnum arch, Maps* maps, std::shared_ptr<Memory>& process_memory) in Unwinder() function
153 class UnwinderFromPid : public Unwinder {
156 : Unwinder(max_frames, maps), pid_(pid) {} in Unwinder() function
158 : Unwinder(max_frames, nullptr, process_memory), pid_(pid) {} in UnwinderFromPid()
[all …]
/system/unwinding/libunwindstack/
DUnwinder.cpp53 void Unwinder::FillInDexFrame() { in FillInDexFrame()
88 FrameData* Unwinder::FillInFrame(std::shared_ptr<MapInfo>& map_info, Elf* /*elf*/, uint64_t rel_pc, in FillInFrame()
122 void Unwinder::Unwind(const std::vector<std::string>* initial_map_names_to_skip, in Unwind()
300 std::string Unwinder::FormatFrame(const FrameData& frame) const { in FormatFrame()
304 std::string Unwinder::FormatFrame(ArchEnum arch, const FrameData& frame, bool display_build_id) { in FormatFrame()
344 std::string Unwinder::FormatFrame(size_t frame_num) const { in FormatFrame()
351 void Unwinder::SetJitDebug(JitDebug* jit_debug) { in SetJitDebug()
355 void Unwinder::SetDexFiles(DexFiles* dex_files) { in SetDexFiles()
413 Unwinder::Unwind(initial_map_names_to_skip, map_suffixes_to_ignore); in Unwind()
416 FrameData Unwinder::BuildFrameFromPcOnly(uint64_t pc, ArchEnum arch, Maps* maps, in BuildFrameFromPcOnly()
[all …]
DAndroidUnwinder.cpp99 return Unwinder::FormatFrame(arch_, frame); in FormatFrame()
119 return Unwinder::BuildFrameFromPcOnly(pc, arch_, maps_.get(), jit_debug_.get(), process_memory_, in BuildFrameFromPcOnly()
168 Unwinder unwinder(data.max_frames.value_or(max_frames_), maps_.get(), regs.get(), in Unwind()
DAndroid.bp85 "Unwinder.cpp",
DAndroidVersions.md1 # Unwinder Support Per Android Release
/system/core/debuggerd/libdebuggerd/test/
DUnwinderMock.h25 class UnwinderMock : public unwindstack::Unwinder {
27 UnwinderMock() : Unwinder(128, new unwindstack::Maps, nullptr) {} in UnwinderMock()
/system/unwinding/libunwindstack/tests/
DUnwinderTest.cpp206 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
276 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
343 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
375 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
407 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
446 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
481 Unwinder unwinder(20, maps_.get(), &regs_, process_memory_); in TEST_F()
526 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
595 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
647 Unwinder unwinder(64, maps_.get(), &regs_, process_memory_); in TEST_F()
[all …]
DUnwindOfflineTest.cpp74 Unwinder unwinder = in ConsecutiveUnwindTest()
75 Unwinder(128, offline_utils_.GetMaps(sample_name), offline_utils_.GetRegs(sample_name), in ConsecutiveUnwindTest()
108 Unwinder unwinder(128, offline_utils_.GetMaps(), regs, offline_utils_.GetProcessMemory()); in TEST_F()
151 Unwinder unwinder(128, offline_utils_.GetMaps(), offline_utils_.GetRegs(), in TEST_F()
175 Unwinder unwinder(128, offline_utils_.GetMaps(), offline_utils_.GetRegs(), in TEST_F()
209 Unwinder unwinder(128, offline_utils_.GetMaps(), offline_utils_.GetRegs(), in TEST_F()
370 Unwinder unwinder(128, offline_utils_.GetMaps(), offline_utils_.GetRegs(), in TEST_F()
557 Unwinder unwinder(128, leak_data->maps, regs_copy.get(), leak_data->process_memory); in OfflineUnwind()
589 Unwinder unwinder(128, offline_utils_.GetMaps(), offline_utils_.GetRegs(), in TEST_F()
621 Unwinder unwinder(128, offline_utils_.GetMaps(), offline_utils_.GetRegs(), in TEST_F()
[all …]
DUnwindTest.cpp107 static std::string ErrorMsg(const std::vector<const char*>& function_names, Unwinder* unwinder) { in ErrorMsg()
120 static void VerifyUnwindFrames(Unwinder* unwinder, in VerifyUnwindFrames()
142 static void VerifyUnwind(Unwinder* unwinder, std::vector<const char*> expected_function_names) { in VerifyUnwind()
152 Unwinder unwinder(512, maps, regs, process_memory); in VerifyUnwind()
183 std::unique_ptr<Unwinder> unwinder; in InnerFunction()
192 unwinder.reset(new Unwinder(512, maps.get(), regs.get(), process_memory)); in InnerFunction()
454 Unwinder unwinder(512, &maps, regs.get(), process_memory); in TEST_F()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderFuzz.cpp35 void PerformUnwind(FuzzedDataProvider* data_provider, Unwinder* unwinder) { in PerformUnwind()
87 Unwinder unwinder(max_frames, maps.get(), regs.get(), memory); in LLVMFuzzerTestOneInput()
/system/unwinding/libunwindstack/utils/
DOfflineUnwindUtils.h78 std::string DumpFrames(const Unwinder& unwinder);
DOfflineUnwindUtils.cpp129 std::string DumpFrames(const Unwinder& unwinder) { in DumpFrames()
/system/unwinding/libunwindstack/benchmarks/
Dremote_unwind_benchmarks.cpp116 unwindstack::Unwinder unwinder(32, &maps, regs.get(), process_memory); in RemoteUnwind()
DOfflineUnwindBenchmarks.cpp137 Unwinder unwinder(128, offline_utils_.GetMaps(sample_name), in BenchmarkOfflineUnwindMultipleSamples()
Dlocal_unwind_benchmarks.cpp73 unwindstack::Unwinder unwinder(kMaxFrames, data->maps, regs.get(), data->process_memory); in Unwind()
/system/extras/simpleperf/
DOfflineUnwinder.cpp310 unwindstack::Unwinder unwinder( in UnwindCallChain()