/system/core/debuggerd/tombstoned/ |
D | intercept_manager.cpp | 67 << intercept->dump_type << " terminated: " << reason; in intercept_close_cb() 77 if (request.dump_type < 0 || request.dump_type > kDebuggerdJavaBacktrace) { in is_intercept_request_valid() 131 intercept->dump_type = intercept_request.dump_type; in intercept_request_cb() 139 intercept_request.dump_type); in intercept_request_cb() 159 << intercept_request.dump_type; in intercept_request_cb() 207 bool InterceptManager::GetIntercept(pid_t pid, DebuggerdDumpType dump_type, in GetIntercept() argument 214 if (dump_type == kDebuggerdAnyIntercept) { in GetIntercept() 215 LOG(INFO) << "found registered intercept of type " << it->second->dump_type in GetIntercept() 217 } else if (!dump_types_compatible(it->second->dump_type, dump_type)) { in GetIntercept() 218 LOG(WARNING) << "found non-matching intercept of type " << it->second->dump_type in GetIntercept() [all …]
|
D | tombstoned_client.cpp | 36 DebuggerdDumpType dump_type) { in tombstoned_connect() argument 37 return tombstoned_connect(pid, tombstoned_socket, text_output_fd, nullptr, dump_type); in tombstoned_connect() 41 unique_fd* proto_output_fd, DebuggerdDumpType dump_type) { in tombstoned_connect() argument 43 socket_local_client((dump_type != kDebuggerdJavaBacktrace ? kTombstonedCrashSocketName in tombstoned_connect() 55 packet.packet.dump_request.dump_type = dump_type; in tombstoned_connect() 65 if (dump_type == kDebuggerdTombstoneProto) { in tombstoned_connect()
|
D | intercept_manager.h | 44 DebuggerdDumpType dump_type = kDebuggerdNativeBacktrace; member 56 bool GetIntercept(pid_t pid, DebuggerdDumpType dump_type, android::base::unique_fd* out_fd);
|
D | tombstoned.cpp | 163 std::optional<CrashOutput> get_output(DebuggerdDumpType dump_type) { in get_output() argument 166 switch (dump_type) { in get_output() 186 LOG(ERROR) << "unexpected dump type: " << dump_type; in get_output() 378 crash->crash_type = request.packet.dump_request.dump_type; in crash_request_cb()
|
/system/core/debuggerd/include/debuggerd/ |
D | client.h | 29 bool debuggerd_trigger_dump(pid_t pid, enum DebuggerdDumpType dump_type, unsigned int timeout_ms, 32 int dump_backtrace_to_file(pid_t tid, enum DebuggerdDumpType dump_type, int output_fd); 33 int dump_backtrace_to_file_timeout(pid_t tid, enum DebuggerdDumpType dump_type, int timeout_secs,
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 53 static bool send_signal(pid_t pid, const DebuggerdDumpType dump_type) { in send_signal() argument 54 const int signal = (dump_type == kDebuggerdJavaBacktrace) ? SIGQUIT : BIONIC_SIGNAL_DEBUGGER; in send_signal() 56 val.sival_int = (dump_type == kDebuggerdNativeBacktrace) ? 1 : 0; in send_signal() 114 bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int timeout_ms, in debuggerd_trigger_dump() argument 117 if (dump_type == kDebuggerdJavaBacktrace) { in debuggerd_trigger_dump() 171 .dump_type = dump_type, in debuggerd_trigger_dump() 230 if (!send_signal(tid, dump_type)) { in debuggerd_trigger_dump() 303 int dump_backtrace_to_file(pid_t tid, DebuggerdDumpType dump_type, int fd) { in dump_backtrace_to_file() argument 304 return dump_backtrace_to_file_timeout(tid, dump_type, 0, fd); in dump_backtrace_to_file() 307 int dump_backtrace_to_file_timeout(pid_t tid, DebuggerdDumpType dump_type, int timeout_secs, in dump_backtrace_to_file_timeout() argument [all …]
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 64 DebuggerdDumpType dump_type = kDebuggerdTombstone; in main() local 69 dump_type = kDebuggerdNativeBacktrace; in main() 71 dump_type = kDebuggerdJavaBacktrace; in main() 106 if (!debuggerd_trigger_dump(pid, dump_type, 0, std::move(pipewrite))) { in main()
|
D | protocol.h | 48 DebuggerdDumpType dump_type; member 63 DebuggerdDumpType dump_type; member
|
D | crash_dump.cpp | 238 static void ParseArgs(int argc, char** argv, pid_t* pseudothread_tid, DebuggerdDumpType* dump_type)… in ParseArgs() argument 256 *dump_type = static_cast<DebuggerdDumpType>(dump_type_int); in ParseArgs() 257 switch (*dump_type) { in ParseArgs() 441 DebuggerdDumpType dump_type; in main() local 445 ParseArgs(argc, argv, &pseudothread_tid, &dump_type); in main() 577 LOG(INFO) << "obtaining output fd from tombstoned, type: " << dump_type; in main() 579 &g_proto_fd, dump_type); in main()
|
D | debuggerd_test.cpp | 123 .dump_type = intercept_type, in tombstoned_intercept() 1293 __attribute__((noinline)) extern "C" bool raise_debugger_signal(DebuggerdDumpType dump_type) { in raise_debugger_signal() argument 1299 if (dump_type != kDebuggerdNativeBacktrace && dump_type != kDebuggerdTombstone) { in raise_debugger_signal() 1303 siginfo.si_value.sival_int = dump_type == kDebuggerdNativeBacktrace; in raise_debugger_signal() 1317 static const auto dump_type = kDebuggerdTombstone; in TEST_F() local 1320 raise_debugger_signal(dump_type); in TEST_F() 1325 StartIntercept(&output_fd, dump_type); in TEST_F() 1350 static const auto dump_type = kDebuggerdNativeBacktrace; in TEST_F() local 1358 raise_debugger_signal(dump_type); in TEST_F() 1363 StartIntercept(&output_fd, dump_type); in TEST_F()
|
/system/core/debuggerd/tombstoned/include/tombstoned/ |
D | tombstoned.h | 27 android::base::unique_fd* proto_output_fd, DebuggerdDumpType dump_type); 30 android::base::unique_fd* text_output_fd, DebuggerdDumpType dump_type);
|