Home
last modified time | relevance | path

Searched refs:unwindstack (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/profiling/perf/
H A Dregs_parsing.cc71 case unwindstack::ARCH_ARM64: in PerfUserRegsMask()
73 case unwindstack::ARCH_ARM: in PerfUserRegsMask()
77 case unwindstack::ARCH_X86_64: in PerfUserRegsMask()
83 case unwindstack::ARCH_X86: in PerfUserRegsMask()
95 unwindstack::ArchEnum ArchForAbi(unwindstack::ArchEnum arch, uint64_t abi) { in ArchForAbi()
97 return unwindstack::ARCH_ARM; in ArchForAbi()
100 return unwindstack::ARCH_X86; in ArchForAbi()
120 unwindstack::ArchEnum arch) { in ToLibUnwindstackRegs()
141 if (arch == unwindstack::ARCH_ARM) { in ToLibUnwindstackRegs()
183 if (arch == unwindstack::ARCH_X86) { in ToLibUnwindstackRegs()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/profiling/perf/
H A Dregs_parsing.cc71 case unwindstack::ARCH_ARM64: in PerfUserRegsMask()
73 case unwindstack::ARCH_ARM: in PerfUserRegsMask()
77 case unwindstack::ARCH_X86_64: in PerfUserRegsMask()
83 case unwindstack::ARCH_X86: in PerfUserRegsMask()
95 unwindstack::ArchEnum ArchForAbi(unwindstack::ArchEnum arch, uint64_t abi) { in ArchForAbi()
97 return unwindstack::ARCH_ARM; in ArchForAbi()
100 return unwindstack::ARCH_X86; in ArchForAbi()
120 unwindstack::ArchEnum arch) { in ToLibUnwindstackRegs()
141 if (arch == unwindstack::ARCH_ARM) { in ToLibUnwindstackRegs()
183 if (arch == unwindstack::ARCH_X86) { in ToLibUnwindstackRegs()
[all …]
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libunwindstack/benchmarks/
H A Dunwind_benchmarks.cpp32 size_t Call6(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call6()
33 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromLocal()); in Call6()
40 size_t Call5(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call5()
44 size_t Call4(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call4()
48 size_t Call3(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call3()
52 size_t Call2(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call2()
56 size_t Call1(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call1()
62 unwindstack::LocalMaps maps; in BM_uncached_unwind()
75 unwindstack::LocalMaps maps; in BM_cached_unwind()
108 unwindstack::LocalMaps maps; in BM_get_build_id_from_elf()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/profiling/common/
H A Dunwind_support.cc69 unwindstack::MapInfo* prev_map = nullptr; in Parse()
70 unwindstack::MapInfo* prev_real_map = nullptr; in Parse()
138 case unwindstack::ERROR_NONE: in StringifyLibUnwindstackError()
140 case unwindstack::ERROR_MEMORY_INVALID: in StringifyLibUnwindstackError()
142 case unwindstack::ERROR_UNWIND_INFO: in StringifyLibUnwindstackError()
144 case unwindstack::ERROR_UNSUPPORTED: in StringifyLibUnwindstackError()
146 case unwindstack::ERROR_INVALID_MAP: in StringifyLibUnwindstackError()
150 case unwindstack::ERROR_REPEATED_FRAME: in StringifyLibUnwindstackError()
152 case unwindstack::ERROR_INVALID_ELF: in StringifyLibUnwindstackError()
154 case unwindstack::ERROR_SYSTEM_CALL: in StringifyLibUnwindstackError()
[all …]
H A Dunwind_support.h42 FrameData(unwindstack::FrameData f, std::string id) in FrameData()
45 unwindstack::FrameData frame;
51 class FDMaps : public unwindstack::Maps {
76 class FDMemory : public unwindstack::Memory {
88 class StackOverlayMemory : public unwindstack::Memory {
90 StackOverlayMemory(std::shared_ptr<unwindstack::Memory> mem,
97 std::shared_ptr<unwindstack::Memory> mem_;
115 FrameData AnnotateFrame(unwindstack::FrameData frame);
119 std::shared_ptr<unwindstack::Memory> fd_mem;
123 std::unique_ptr<unwindstack::JitDebug> jit_debug;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/profiling/common/
H A Dunwind_support.cc69 unwindstack::MapInfo* prev_map = nullptr; in Parse()
101 new unwindstack::DexFiles(fd_mem))) in UnwindingMetadata()
114 std::unique_ptr<unwindstack::JitDebug>(new unwindstack::JitDebug(fd_mem)); in ReparseMaps()
116 std::unique_ptr<unwindstack::DexFiles>(new unwindstack::DexFiles(fd_mem)); in ReparseMaps()
133 case unwindstack::ERROR_NONE: in StringifyLibUnwindstackError()
135 case unwindstack::ERROR_MEMORY_INVALID: in StringifyLibUnwindstackError()
137 case unwindstack::ERROR_UNWIND_INFO: in StringifyLibUnwindstackError()
139 case unwindstack::ERROR_UNSUPPORTED: in StringifyLibUnwindstackError()
141 case unwindstack::ERROR_INVALID_MAP: in StringifyLibUnwindstackError()
145 case unwindstack::ERROR_REPEATED_FRAME: in StringifyLibUnwindstackError()
[all …]
H A Dunwind_support.h42 FrameData(unwindstack::FrameData f, std::string id) in FrameData()
45 unwindstack::FrameData frame;
51 class FDMaps : public unwindstack::Maps {
76 class FDMemory : public unwindstack::Memory {
88 class StackOverlayMemory : public unwindstack::Memory {
90 StackOverlayMemory(std::shared_ptr<unwindstack::Memory> mem,
97 std::shared_ptr<unwindstack::Memory> mem_;
115 FrameData AnnotateFrame(unwindstack::FrameData frame);
119 std::shared_ptr<unwindstack::Memory> fd_mem;
123 std::unique_ptr<unwindstack::JitDebug> jit_debug;
[all …]
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libbacktrace/
H A DUnwindStack.cpp67 case unwindstack::ERROR_NONE: in Unwind()
76 case unwindstack::ERROR_UNWIND_INFO: in Unwind()
80 case unwindstack::ERROR_UNSUPPORTED: in Unwind()
162 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), ucontext)); in UnwindFromContext()
184 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), context)); in Unwind()
205 unwindstack::ArchEnum arch; in Unwind()
208 arch = unwindstack::ARCH_ARM; in Unwind()
211 arch = unwindstack::ARCH_ARM64; in Unwind()
214 arch = unwindstack::ARCH_X86; in Unwind()
217 arch = unwindstack::ARCH_X86_64; in Unwind()
[all …]
H A DUnwindStackMap.h49 virtual std::shared_ptr<unwindstack::Memory> GetProcessMemory() override final;
51 unwindstack::Maps* stack_maps() { return stack_maps_.get(); } in stack_maps()
53 const std::shared_ptr<unwindstack::Memory>& process_memory() { return process_memory_; } in process_memory()
55 unwindstack::JitDebug* GetJitDebug() { return jit_debug_.get(); } in GetJitDebug()
58 unwindstack::DexFiles* GetDexFiles() { return dex_files_.get(); } in GetDexFiles()
64 std::unique_ptr<unwindstack::Maps> stack_maps_;
65 std::shared_ptr<unwindstack::Memory> process_memory_;
66 std::unique_ptr<unwindstack::JitDebug> jit_debug_;
68 std::unique_ptr<unwindstack::DexFiles> dex_files_;
84 unwindstack::MemoryOfflineBuffer* memory_ = nullptr;
H A DUnwindStackMap.cpp37 stack_maps_.reset(new unwindstack::LocalMaps); in Build()
39 stack_maps_.reset(new unwindstack::RemoteMaps(pid_)); in Build()
43 process_memory_ = unwindstack::Memory::CreateProcessMemory(pid_); in Build()
47 jit_debug_.reset(new unwindstack::JitDebug(process_memory_, search_libs_)); in Build()
80 unwindstack::MapInfo* map_info = stack_maps_->Find(addr); in FillIn()
92 unwindstack::MapInfo* map_info = stack_maps_->Get(index); in GetLoadBias()
101 unwindstack::Maps* maps = stack_maps(); in GetFunctionName()
104 unwindstack::MapInfo* map_info = maps->Find(pc); in GetFunctionName()
109 unwindstack::Elf* elf = map_info->GetElf(process_memory(), true); in GetFunctionName()
120 std::shared_ptr<unwindstack::Memory> UnwindStackMap::GetProcessMemory() { in GetProcessMemory()
[all …]
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libunwindstack/tools/
H A Dunwind.cpp55 unwindstack::RemoteMaps remote_maps(pid); in DoUnwind()
61 unwindstack::Regs* regs = unwindstack::Regs::RemoteGet(pid); in DoUnwind()
69 case unwindstack::ARCH_ARM: in DoUnwind()
72 case unwindstack::ARCH_X86: in DoUnwind()
75 case unwindstack::ARCH_ARM64: in DoUnwind()
78 case unwindstack::ARCH_X86_64: in DoUnwind()
81 case unwindstack::ARCH_MIPS: in DoUnwind()
84 case unwindstack::ARCH_MIPS64: in DoUnwind()
93 auto process_memory = unwindstack::Memory::CreateProcessMemory(pid); in DoUnwind()
96 unwindstack::JitDebug jit_debug(process_memory); in DoUnwind()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/profiler/
H A Dnative_unwinder_android.cc36 NonElfModule(unwindstack::MapInfo* map_info) in NonElfModule()
65 return WrapUnique<unwindstack::Regs>(unwindstack::RegsArm::Read( in CreateFromRegisterContext()
68 return WrapUnique<unwindstack::Regs>(unwindstack::RegsArm64::Read( in CreateFromRegisterContext()
76 void CopyToRegisterContext(unwindstack::Regs* regs, in CopyToRegisterContext()
80 unwindstack::ARM_REG_LAST * sizeof(uintptr_t)); in CopyToRegisterContext()
117 std::unique_ptr<unwindstack::Memory>
123 unwindstack::Maps* memory_regions_map, in NativeUnwinderAndroid()
124 unwindstack::Memory* process_memory, in NativeUnwinderAndroid()
148 unwindstack::ArchEnum arch = regs->Arch(); in TryUnwind()
159 unwindstack::Elf* elf = in TryUnwind()
[all …]
H A Dnative_unwinder_android.h17 class UnwindStackMemoryAndroid : public unwindstack::Memory {
35 static std::unique_ptr<unwindstack::Maps> CreateMaps();
36 static std::unique_ptr<unwindstack::Memory> CreateProcessMemory();
42 NativeUnwinderAndroid(unwindstack::Maps* memory_regions_map,
43 unwindstack::Memory* process_memory,
61 const unwindstack::Maps& memory_regions_map,
69 unwindstack::Maps* const memory_regions_map_;
70 unwindstack::Memory* const process_memory_;
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libbacktrace/
H A DUnwindStackMap.h51 virtual std::shared_ptr<unwindstack::Memory> GetProcessMemory() override final;
53 unwindstack::Maps* stack_maps() { return stack_maps_.get(); } in stack_maps()
55 const std::shared_ptr<unwindstack::Memory>& process_memory() { return process_memory_; } in process_memory()
57 unwindstack::JitDebug* GetJitDebug() { return jit_debug_.get(); } in GetJitDebug()
60 unwindstack::DexFiles* GetDexFiles() { return dex_files_.get(); } in GetDexFiles()
63 void SetArch(unwindstack::ArchEnum arch) { arch_ = arch; } in SetArch()
68 std::unique_ptr<unwindstack::Maps> stack_maps_;
69 std::shared_ptr<unwindstack::Memory> process_memory_;
70 std::unique_ptr<unwindstack::JitDebug> jit_debug_;
72 std::unique_ptr<unwindstack::DexFiles> dex_files_;
[all …]
H A DUnwindStack.cpp65 case unwindstack::ERROR_NONE: in Unwind()
69 case unwindstack::ERROR_MEMORY_INVALID: in Unwind()
74 case unwindstack::ERROR_UNWIND_INFO: in Unwind()
78 case unwindstack::ERROR_UNSUPPORTED: in Unwind()
82 case unwindstack::ERROR_INVALID_MAP: in Unwind()
94 case unwindstack::ERROR_INVALID_ELF: in Unwind()
147 std::unique_ptr<unwindstack::Regs> regs; in UnwindFromContext()
152 unwindstack::RegsGetLocal(regs.get()); in UnwindFromContext()
154 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), ucontext)); in UnwindFromContext()
172 std::unique_ptr<unwindstack::Regs> regs; in Unwind()
[all …]
H A DUnwindStackMap.cpp38 stack_maps_.reset(new unwindstack::LocalMaps); in Build()
40 stack_maps_.reset(new unwindstack::RemoteMaps(pid_)); in Build()
44 process_memory_ = unwindstack::Memory::CreateProcessMemory(pid_); in Build()
81 unwindstack::MapInfo* map_info = stack_maps_->Find(addr); in FillIn()
93 unwindstack::MapInfo* map_info = stack_maps_->Get(index); in GetLoadBias()
102 unwindstack::Maps* maps = stack_maps(); in GetFunctionName()
105 unwindstack::MapInfo* map_info = maps->Find(pc); in GetFunctionName()
110 if (arch_ == unwindstack::ARCH_UNKNOWN) { in GetFunctionName()
112 arch_ = unwindstack::Regs::CurrentArch(); in GetFunctionName()
115 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::RemoteGet(pid_)); in GetFunctionName()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/profiling/memory/
H A Dunwinding.cc89 unwindstack::ArchEnum arch, in CreateRegsFromRawData()
91 std::unique_ptr<unwindstack::Regs> ret; in CreateRegsFromRawData()
93 case unwindstack::ARCH_X86: in CreateRegsFromRawData()
96 case unwindstack::ARCH_X86_64: in CreateRegsFromRawData()
99 case unwindstack::ARCH_ARM: in CreateRegsFromRawData()
102 case unwindstack::ARCH_ARM64: in CreateRegsFromRawData()
105 case unwindstack::ARCH_MIPS: in CreateRegsFromRawData()
108 case unwindstack::ARCH_MIPS64: in CreateRegsFromRawData()
111 case unwindstack::ARCH_UNKNOWN: in CreateRegsFromRawData()
125 unwindstack::FrameData frame_data{}; in DoUnwind()
[all …]
H A Dwire_protocol.h73 sizeof(uint32_t) * unwindstack::ARM_REG_LAST,
74 sizeof(uint64_t) * unwindstack::ARM64_REG_LAST),
75 sizeof(uint32_t) * unwindstack::X86_REG_LAST),
76 sizeof(uint64_t) * unwindstack::X86_64_REG_LAST),
77 sizeof(uint32_t) * unwindstack::MIPS_REG_LAST),
78 sizeof(uint64_t) * unwindstack::MIPS64_REG_LAST
104 unwindstack::ArchEnum arch;
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/extras/simpleperf/
H A DOfflineUnwinder.cpp56 unwindstack::arm_user_regs arm_user_regs; in GetBacktraceRegs()
62 for (size_t i = unwindstack::ARM_REG_R0; i < unwindstack::ARM_REG_LAST; ++i) { in GetBacktraceRegs()
68 unwindstack::arm64_user_regs arm64_user_regs; in GetBacktraceRegs()
81 unwindstack::x86_user_regs x86_user_regs; in GetBacktraceRegs()
95 unwindstack::x86_64_user_regs x86_64_user_regs; in GetBacktraceRegs()
138 class UnwindMaps : public unwindstack::Maps {
199 unwindstack::Elf::SetCachingEnabled(true); in OfflineUnwinderImpl()
235 unwindstack::Unwinder unwinder( in UnwindCallChain()
282 case unwindstack::ERROR_MAX_FRAMES_EXCEEDED: in UnwindCallChain()
285 case unwindstack::ERROR_MEMORY_INVALID: { in UnwindCallChain()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/profiling/memory/
H A Dunwinding.cc92 unwindstack::ArchEnum arch, in CreateRegsFromRawData()
94 std::unique_ptr<unwindstack::Regs> ret; in CreateRegsFromRawData()
96 case unwindstack::ARCH_X86: in CreateRegsFromRawData()
99 case unwindstack::ARCH_X86_64: in CreateRegsFromRawData()
102 case unwindstack::ARCH_ARM: in CreateRegsFromRawData()
105 case unwindstack::ARCH_ARM64: in CreateRegsFromRawData()
108 case unwindstack::ARCH_MIPS: in CreateRegsFromRawData()
111 case unwindstack::ARCH_MIPS64: in CreateRegsFromRawData()
114 case unwindstack::ARCH_UNKNOWN: in CreateRegsFromRawData()
128 unwindstack::FrameData frame_data{}; in DoUnwind()
[all …]
H A Dwire_protocol.h92 sizeof(uint32_t) * unwindstack::ARM_REG_LAST,
93 sizeof(uint64_t) * unwindstack::ARM64_REG_LAST),
94 sizeof(uint32_t) * unwindstack::X86_REG_LAST),
95 sizeof(uint64_t) * unwindstack::X86_64_REG_LAST),
96 sizeof(uint32_t) * unwindstack::MIPS_REG_LAST),
97 sizeof(uint64_t) * unwindstack::MIPS64_REG_LAST
124 PERFETTO_CROSS_ABI_ALIGNED(unwindstack::ArchEnum) arch;
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libunwindstack/tools/
H A Dunwind.cpp60 unwindstack::Regs* regs = unwindstack::Regs::RemoteGet(pid); in DoUnwind()
68 case unwindstack::ARCH_ARM: in DoUnwind()
71 case unwindstack::ARCH_X86: in DoUnwind()
74 case unwindstack::ARCH_ARM64: in DoUnwind()
77 case unwindstack::ARCH_X86_64: in DoUnwind()
80 case unwindstack::ARCH_MIPS: in DoUnwind()
83 case unwindstack::ARCH_MIPS64: in DoUnwind()
92 unwindstack::UnwinderFromPid unwinder(1024, pid); in DoUnwind()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/debuggerd/libdebuggerd/test/
H A Dtombstone_test.cpp363 class MemoryPattern : public unwindstack::Memory {
378 std::vector<unwindstack::FrameData> frames; in TEST_F()
379 unwindstack::Maps maps; in TEST_F()
383 unwindstack::FrameData{.num = 0, .rel_pc = 0x1000, .pc = 0x301000, .sp = 0x2000}); in TEST_F()
462 std::vector<unwindstack::FrameData> frames; in TEST_F()
463 unwindstack::Maps maps; in TEST_F()
467 unwindstack::FrameData{.num = 0, .rel_pc = 0x1000, .pc = 0x301000, .sp = 0x2000}); in TEST_F()
552 std::vector<unwindstack::FrameData> frames; in TEST_F()
553 unwindstack::Maps maps; in TEST_F()
680 std::vector<unwindstack::FrameData> frames; in TEST_F()
[all …]
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/debuggerd/libdebuggerd/
H A Dtombstone.cpp108 unwindstack::MapInfo* map_info = maps->Find(sp); in get_stack_overflow_cause()
121 unwindstack::Regs* regs) { in dump_probable_cause()
194 static void dump_stack_segment(log_t* log, unwindstack::Maps* maps, unwindstack::Memory* memory, in dump_stack_segment()
234 unwindstack::Maps* maps, unwindstack::Memory* memory) { in dump_stack()
338 unwindstack::Maps* maps = unwinder->GetMaps(); in dump_all_maps()
463 void dump_memory_and_code(log_t* log, unwindstack::Maps* maps, unwindstack::Memory* memory, in dump_memory_and_code()
464 unwindstack::Regs* regs) { in dump_memory_and_code()
511 unwindstack::Maps* maps = unwinder->GetMaps(); in dump_thread()
672 std::unique_ptr<unwindstack::Regs> regs( in engrave_tombstone_ucontext()
673 unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), ucontext)); in engrave_tombstone_ucontext()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/modules/stack_unwinder/internal/
H A Dstack_unwinder_module_contents_impl.cc18 MemoryRegionsMap(std::unique_ptr<unwindstack::Maps> maps, in MemoryRegionsMap()
19 std::unique_ptr<unwindstack::Memory> memory) in MemoryRegionsMap()
22 unwindstack::Maps* maps() { return maps_.get(); } in maps()
23 unwindstack::Memory* memory() { return memory_.get(); } in memory()
26 std::unique_ptr<unwindstack::Maps> maps_;
27 std::unique_ptr<unwindstack::Memory> memory_;

12345678910>>...16