Home
last modified time | relevance | path

Searched refs:BACKTRACE (Results 1 – 11 of 11) sorted by relevance

/aosp12/system/core/debuggerd/libdebuggerd/
H A Dbacktrace.cpp48 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, get_timestamp().c_str()); in dump_process_header()
51 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", android::base::Join(command_line, " ").c_str()); in dump_process_header()
53 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header()
57 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer()
66 _LOG(&log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread.thread_name.c_str(), thread.tid); in dump_backtrace_thread()
H A Dgwp_asan.cpp234 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread <unknown>:\n"); in DumpDeallocationTrace()
236 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %" PRIu64 ":\n", thread_id); in DumpDeallocationTrace()
243 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpDeallocationTrace()
261 _LOG(log, logtype::BACKTRACE, "\nallocated by thread <unknown>:\n"); in DumpAllocationTrace()
263 _LOG(log, logtype::BACKTRACE, "\nallocated by thread %" PRIu64 ":\n", thread_id); in DumpAllocationTrace()
270 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpAllocationTrace()
H A Dutility.cpp49 || (ltype == BACKTRACE)) { in is_allowed_in_logcat()
447 _LOG(log, logtype::BACKTRACE, in log_backtrace()
449 _LOG(log, logtype::BACKTRACE, in log_backtrace()
451 _LOG(log, logtype::BACKTRACE, "%sNOTE: found under the lib/ directory are readable.\n", prefix); in log_backtrace()
453 _LOG(log, logtype::BACKTRACE, in log_backtrace()
460 _LOG(log, logtype::BACKTRACE, "%s%s\n", prefix, unwinder->FormatFrame(i).c_str()); in log_backtrace()
H A Dscudo.cpp194 _LOG(log, logtype::BACKTRACE, "\nallocated by thread %u:\n", report->allocation_tid); in DumpReport()
201 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpReport()
206 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %u:\n", report->deallocation_tid); in DumpReport()
213 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpReport()
H A Dtombstone.cpp424 _LOG(log, logtype::BACKTRACE, "\nbacktrace:\n"); in dump_thread()
/aosp12/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_config_tests.cpp122 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
131 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
140 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
212 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
219 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
231 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
238 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
250 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
257 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
269 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F()
[all …]
/aosp12/bionic/libc/malloc_debug/
H A Dmalloc_debug.cpp357 if ((g_debug->config().options() & BACKTRACE) && g_debug->config().backtrace_dump_on_exit()) { in debug_finalize()
389 if (!(g_debug->config().options() & BACKTRACE)) { in debug_get_malloc_leak_info()
419 if ((g_debug->config().options() & BACKTRACE) && g_debug->pointer->ShouldDumpAndReset()) { in InternalMalloc()
486 if ((g_debug->config().options() & BACKTRACE) && g_debug->pointer->ShouldDumpAndReset()) { in InternalFree()
928 if (!(g_debug->config().options() & BACKTRACE)) { in debug_malloc_backtrace()
989 if (!(g_debug->config().options() & BACKTRACE)) { in debug_write_malloc_leak_info()
H A DConfig.cpp83 "backtrace", {BACKTRACE | TRACK_ALLOCS, &Config::SetBacktrace},
87 {BACKTRACE | TRACK_ALLOCS, &Config::SetBacktraceEnableOnSignal},
H A DConfig.h38 constexpr uint64_t BACKTRACE = 0x4; variable
H A DPointerData.cpp115 if (config.options() & BACKTRACE) { in Initialize()
/aosp12/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
H A Dutility.h57 BACKTRACE, enumerator