Home
last modified time | relevance | path

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

/system/core/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_offline_test.cpp266 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 …]
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/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/core/init/
Dreboot_utils.cpp119 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/
DMemUnreachable.cpp174 … 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()
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/core/libmemunreachable/include/memunreachable/
Dmemunreachable.h52 } backtrace; member
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dutility.h82 void dump_memory(log_t* log, unwindstack::Memory* backtrace, uint64_t addr, const std::string&);
/system/core/debuggerd/
Dcrash_dump.cpp559 bool backtrace = false; in main() local
567 backtrace = false; in main()
569 backtrace = true; in main()
582 if (backtrace) { in main()
DAndroid.bp159 "libdebuggerd/backtrace.cpp",
Ddebuggerd_test.cpp452 TEST_F(CrasherTest, backtrace) { in TEST_F() argument
/system/core/fastboot/fuzzy_fastboot/
DREADME.md319 backtrace of the underlying fastboot commands leading up the failure in this test.