/aosp12/system/core/debuggerd/libdebuggerd/ |
H A D | backtrace.cpp | 48 _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 D | gwp_asan.cpp | 234 _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 D | utility.cpp | 49 || (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 D | scudo.cpp | 194 _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 D | tombstone.cpp | 424 _LOG(log, logtype::BACKTRACE, "\nbacktrace:\n"); in dump_thread()
|
/aosp12/bionic/libc/malloc_debug/tests/ |
H A D | malloc_debug_config_tests.cpp | 122 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 D | malloc_debug.cpp | 357 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 D | Config.cpp | 83 "backtrace", {BACKTRACE | TRACK_ALLOCS, &Config::SetBacktrace}, 87 {BACKTRACE | TRACK_ALLOCS, &Config::SetBacktraceEnableOnSignal},
|
H A D | Config.h | 38 constexpr uint64_t BACKTRACE = 0x4; variable
|
H A D | PointerData.cpp | 115 if (config.options() & BACKTRACE) { in Initialize()
|
/aosp12/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
H A D | utility.h | 57 BACKTRACE, enumerator
|