/system/core/debuggerd/libdebuggerd/ |
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() 71 _LOG(&log, logtype::THREAD, "Unwind failed: tid = %d\n", thread.tid); in dump_backtrace_thread() 73 _LOG(&log, logtype::THREAD, " Error code: %s\n", unwinder->LastErrorCodeString()); in dump_backtrace_thread() 74 _LOG(&log, logtype::THREAD, " Error address: 0x%" PRIx64 "\n", unwinder->LastErrorAddress()); in dump_backtrace_thread()
|
D | tombstone.cpp | 82 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint.c_str()); in dump_header_info() 83 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision.c_str()); in dump_header_info() 84 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info() 150 if (!cause.empty()) _LOG(log, logtype::HEADER, "Cause: %s\n", cause.c_str()); in dump_probable_cause() 176 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s%s), fault addr %s\n", in dump_signal_info() 190 _LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", thread_info.pid, in dump_thread_info() 192 _LOG(log, logtype::HEADER, "uid: %d\n", thread_info.uid); in dump_thread_info() 194 _LOG(log, logtype::HEADER, "tagged_addr_ctrl: %016lx\n", thread_info.tagged_addr_ctrl); in dump_thread_info() 216 _LOG(log, logtype::HEADER, "Failed to read abort message header: %s\n", strerror(errno)); in dump_abort_message() 222 _LOG(log, logtype::HEADER, "Abort message header malformed: claimed length = %zd\n", length); in dump_abort_message() [all …]
|
D | gwp_asan.cpp | 172 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: Unknown error occurred at 0x%" PRIxPTR ".\n", in DumpCause() 178 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: %s at 0x%" PRIxPTR ".\n", error_string_, in DumpCause() 212 _LOG(log, logtype::HEADER, in DumpCause() 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()
|
D | utility.cpp | 69 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() function 215 _LOG(log, logtype::MEMORY, "\n%s:\n", label.c_str()); in dump_memory() 246 _LOG(log, logtype::MEMORY, "%s %s\n", logline.c_str(), ascii.c_str()); in dump_memory() 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()
|
D | scudo.cpp | 136 _LOG(log, logtype::HEADER, in DumpCause() 188 _LOG(log, logtype::HEADER, in DumpReport() 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()
|
D | open_files_list.cpp | 128 _LOG(log, logtype::OPEN_FILES, "%sfd %i: %s (owned by %s %#" PRIx64 ")\n", prefix, fd, in dump_open_files_list() 131 _LOG(log, logtype::OPEN_FILES, "%sfd %i: %s (unowned)\n", prefix, fd, path->c_str()); in dump_open_files_list() 133 _LOG(log, logtype::OPEN_FILES, "%sfd %i: <MISSING> (owned by %#" PRIx64 ")\n", prefix, fd, in dump_open_files_list()
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | utility.h | 74 void _LOG(log_t* log, logtype ltype, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|