Home
last modified time | relevance | path

Searched refs:Backtrace (Results 1 – 18 of 18) sorted by relevance

/system/core/libbacktrace/
DBacktrace.cpp41 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace() function in Backtrace
49 Backtrace::~Backtrace() { in ~Backtrace()
56 std::string Backtrace::GetFunctionName(uint64_t pc, uint64_t* offset, const backtrace_map_t* map) { in GetFunctionName()
76 bool Backtrace::VerifyReadWordArgs(uint64_t ptr, word_t* out_value) { in VerifyReadWordArgs()
85 std::string Backtrace::FormatFrameData(size_t frame_num) { in FormatFrameData()
92 std::string Backtrace::FormatFrameData(const backtrace_frame_data_t* frame) { in FormatFrameData()
124 void Backtrace::FillInMap(uint64_t pc, backtrace_map_t* map) { in FillInMap()
130 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
147 std::string Backtrace::GetErrorString(BacktraceUnwindError error) { in GetErrorString()
Dbacktrace_test.cpp87 Backtrace* backtrace;
92 typedef Backtrace* (*create_func_t)(pid_t, pid_t, BacktraceMap*);
95 static void VerifyLevelDump(Backtrace* backtrace, create_func_t create_func = nullptr,
97 static void VerifyMaxDump(Backtrace* backtrace, create_func_t create_func = nullptr,
123 static std::string DumpFrames(Backtrace* backtrace) { in DumpFrames()
180 static bool ReadyLevelBacktrace(Backtrace* backtrace) { in ReadyLevelBacktrace()
183 for (Backtrace::const_iterator it = backtrace->begin(); it != backtrace->end(); ++it) { in ReadyLevelBacktrace()
193 static void VerifyLevelDump(Backtrace* backtrace, create_func_t, map_create_func_t) { in VerifyLevelDump()
222 std::unique_ptr<Backtrace> backtrace( in VerifyLevelBacktrace()
223 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in VerifyLevelBacktrace()
[all …]
DBacktracePtrace.h27 class BacktracePtrace : public Backtrace {
29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
DBacktraceCurrent.h37 class BacktraceCurrent : public Backtrace {
39 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktraceCurrent()
Dbacktrace_benchmarks.cpp151 using BacktraceCreateFn = decltype(Backtrace::Create);
155 std::unique_ptr<Backtrace> backtrace(fn(getpid(), android::base::GetThreadId(), map)); in CreateBacktrace()
162 CreateBacktrace(state, backtrace_map.get(), Backtrace::Create); in BM_create_backtrace()
DUnwindStack.cpp45 bool Backtrace::Unwind(unwindstack::Regs* regs, BacktraceMap* back_map, in Unwind()
161 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, &skip_names, &error_); in UnwindFromContext()
179 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, nullptr, &error_); in Unwind()
Dbacktrace_read_benchmarks.cpp181 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD)); in BM_read_with_backtrace_object()
DAndroid.bp33 "Backtrace.cpp",
/system/memory/libmemunreachable/
DLeak.h30 struct hash<android::Leak::Backtrace> {
31 std::size_t operator()(const android::Leak::Backtrace& key) const {
54 static bool operator==(const Leak::Backtrace& lhs, const Leak::Backtrace& rhs) {
DMemUnreachable.cpp164 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
/system/core/libbacktrace/include/backtrace/
DBacktrace.h106 class Backtrace {
127 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = nullptr);
129 virtual ~Backtrace();
190 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map);
/system/core/libutils/
DCallStack.cpp44 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); in update()
/system/bt/vendor_libs/test_vendor_lib/desktop/
Droot_canal_main.cc49 std::unique_ptr<Backtrace> backtrace( in crash_callback()
50 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); in crash_callback()
/system/bt/gd/facade/
Dfacade_main.cc68 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); in crash_callback()
/system/core/init/
Dreboot_utils.cpp133 std::unique_ptr<Backtrace> backtrace( in InitFatalReboot()
134 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in InitFatalReboot()
Dinit.cpp251 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, 1)); in UnwindMainThreadStack()
/system/core/debuggerd/libdebuggerd/test/
Dlog_fake.cpp28 class Backtrace;
/system/memory/libmemunreachable/include/memunreachable/
Dmemunreachable.h47 struct Backtrace { struct