Home
last modified time | relevance | path

Searched refs:backtrace (Results 1 – 17 of 17) sorted by relevance

/system/unwinding/libbacktrace/
Dbacktrace_test.cpp87 Backtrace* backtrace; member
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() argument
124 if (backtrace->NumFrames() == 0) { in DumpFrames()
129 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in DumpFrames()
130 frame += " " + backtrace->FormatFrameData(i) + '\n'; in DumpFrames()
180 static bool ReadyLevelBacktrace(Backtrace* backtrace) { in ReadyLevelBacktrace() argument
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() argument
[all …]
Dbacktrace_read_benchmarks.cpp181 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD)); in BM_read_with_backtrace_object() local
182 if (backtrace.get() == nullptr) { in BM_read_with_backtrace_object()
190 if (backtrace->Read(addr, read_buffer.data(), read_buffer.size()) != read_buffer.size()) { in BM_read_with_backtrace_object()
Dbacktrace_benchmarks.cpp155 std::unique_ptr<Backtrace> backtrace(fn(getpid(), android::base::GetThreadId(), map)); in CreateBacktrace() local
156 backtrace->Unwind(0); in CreateBacktrace()
/system/bt/vendor_libs/test_vendor_lib/desktop/
Droot_canal_main.cc60 std::unique_ptr<Backtrace> backtrace( in crash_callback() local
62 if (backtrace == nullptr) { in crash_callback()
66 if (!backtrace->Unwind(0)) { in crash_callback()
71 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in crash_callback()
72 LOG_ERROR("%s", backtrace->FormatFrameData(i).c_str()); in crash_callback()
/system/core/libutils/
DCallStack.cpp44 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); in update() local
45 if (!backtrace->Unwind(ignoreDepth)) { in update()
48 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in update()
49 mFrameLines.push_back(String8(backtrace->FormatFrameData(i).c_str())); in update()
/system/bt/gd/facade/
Dfacade_main.cc77 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); in crash_callback() local
78 if (backtrace == nullptr) { in crash_callback()
82 if (!backtrace->Unwind(0)) { in crash_callback()
87 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in crash_callback()
88 LOG_ERROR("%s", backtrace->FormatFrameData(i).c_str()); in crash_callback()
/system/core/init/
Dreboot_utils.cpp160 std::unique_ptr<Backtrace> backtrace( in InitFatalReboot() local
162 if (!backtrace->Unwind(0)) { in InitFatalReboot()
165 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in InitFatalReboot()
166 LOG(ERROR) << backtrace->FormatFrameData(i); in InitFatalReboot()
Dinit.cpp256 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, 1)); in UnwindMainThreadStack() local
257 if (!backtrace->Unwind(0)) { in UnwindMainThreadStack()
260 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in UnwindMainThreadStack()
261 LOG(ERROR) << "sys.powerctl: " << backtrace->FormatFrameData(i); in UnwindMainThreadStack()
/system/memory/libmemunreachable/
DMemUnreachable.cpp175 … reinterpret_cast<void*>(it.range.begin), leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory()
177 leak->backtrace.num_frames = num_backtrace_frames; in GetUnreachableMemory()
179 auto inserted = backtrace_map.emplace(leak->backtrace, leak); in GetUnreachableMemory()
494 if (backtrace.num_frames > 0) { in ToString()
495 oss << backtrace_string(backtrace.frames, backtrace.num_frames); in ToString()
DREADME.md24 adb shell setprop libc.debug.malloc.options backtrace=4
92 …- `malloc_backtrace()`: return the backtrace from when the allocation at the given address was all…
/system/memory/libmemunreachable/include/memunreachable/
Dmemunreachable.h54 } backtrace; member
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dutility.h86 void dump_memory(log_t* log, unwindstack::Memory* backtrace, uint64_t addr, const std::string&);
/system/core/debuggerd/
Dcrash_dump.cpp597 bool backtrace = false; in main() local
605 backtrace = false; in main()
607 backtrace = true; in main()
620 if (backtrace) { in main()
DAndroid.bp202 "libdebuggerd/backtrace.cpp",
Ddebuggerd_test.cpp1023 TEST_F(CrasherTest, backtrace) { in TEST_F() argument
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp150 const google::protobuf::RepeatedPtrField<BacktraceFrame>& backtrace, in print_backtrace() argument
153 for (const auto& frame : backtrace) { in print_backtrace()
/system/core/fastboot/fuzzy_fastboot/
DREADME.md319 backtrace of the underlying fastboot commands leading up the failure in this test.