/system/core/libbacktrace/ |
D | backtrace_test.cpp | 87 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 …]
|
D | backtrace_offline_test.cpp | 266 std::unique_ptr<Backtrace> backtrace(Backtrace::CreateOffline( in BacktraceOfflineTest() local 268 ASSERT_TRUE(backtrace != nullptr) << "Failed " << arch_str; in BacktraceOfflineTest() 270 ASSERT_TRUE(backtrace->Unwind(0, testdata.ucontext.data())) << "Failed " << arch_str; in BacktraceOfflineTest() 274 for (size_t i = 0; i < backtrace->NumFrames(); ++i) { in BacktraceOfflineTest() 275 pc_values.push_back(backtrace->GetFrame(i)->pc); in BacktraceOfflineTest() 351 std::unique_ptr<Backtrace> backtrace(Backtrace::CreateOffline( in LibUnwindingTest() local 353 ASSERT_TRUE(backtrace != nullptr); in LibUnwindingTest() 355 ASSERT_TRUE(backtrace->Unwind(0, testdata.ucontext.data())); in LibUnwindingTest() 357 ASSERT_EQ(testdata.symbols.size(), backtrace->NumFrames()); in LibUnwindingTest() 358 for (size_t i = 0; i < backtrace->NumFrames(); ++i) { in LibUnwindingTest() [all …]
|
D | backtrace_read_benchmarks.cpp | 181 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()
|
D | backtrace_benchmarks.cpp | 155 std::unique_ptr<Backtrace> backtrace(fn(getpid(), android::base::GetThreadId(), map)); in CreateBacktrace() local 156 backtrace->Unwind(0); in CreateBacktrace()
|
/system/core/libutils/ |
D | CallStack.cpp | 44 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/core/init/ |
D | reboot_utils.cpp | 119 std::unique_ptr<Backtrace> backtrace( in InitFatalReboot() local 121 if (!backtrace->Unwind(0)) { in InitFatalReboot() 124 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in InitFatalReboot() 125 LOG(ERROR) << backtrace->FormatFrameData(i); in InitFatalReboot()
|
/system/core/libmemunreachable/ |
D | MemUnreachable.cpp | 174 … reinterpret_cast<void*>(it.range.begin), leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory() 176 leak->backtrace.num_frames = num_backtrace_frames; in GetUnreachableMemory() 178 auto inserted = backtrace_map.emplace(leak->backtrace, leak); in GetUnreachableMemory() 485 if (backtrace.num_frames > 0) { in ToString() 486 oss << backtrace_string(backtrace.frames, backtrace.num_frames); in ToString()
|
D | README.md | 24 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/core/libmemunreachable/include/memunreachable/ |
D | memunreachable.h | 52 } backtrace; member
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | utility.h | 82 void dump_memory(log_t* log, unwindstack::Memory* backtrace, uint64_t addr, const std::string&);
|
/system/core/debuggerd/ |
D | crash_dump.cpp | 559 bool backtrace = false; in main() local 567 backtrace = false; in main() 569 backtrace = true; in main() 582 if (backtrace) { in main()
|
D | Android.bp | 159 "libdebuggerd/backtrace.cpp",
|
D | debuggerd_test.cpp | 452 TEST_F(CrasherTest, backtrace) { in TEST_F() argument
|
/system/core/fastboot/fuzzy_fastboot/ |
D | README.md | 319 backtrace of the underlying fastboot commands leading up the failure in this test.
|