/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() 195 bool InterceptManager::GetIntercept(pid_t pid, DebuggerdDumpType dump_type, in GetIntercept() argument 202 if (dump_type == kDebuggerdAnyIntercept) { in GetIntercept() 203 LOG(INFO) << "found registered intercept of type " << it->second->dump_type in GetIntercept() 205 } else if (it->second->dump_type != dump_type) { in GetIntercept() 206 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 38 socket_local_client((dump_type != kDebuggerdJavaBacktrace ? kTombstonedCrashSocketName in tombstoned_connect() 50 packet.packet.dump_request.dump_type = dump_type; 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 | 300 crash->crash_type = request.packet.dump_request.dump_type; in crash_request_cb()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 48 static bool send_signal(pid_t pid, const DebuggerdDumpType dump_type) { in send_signal() argument 49 const int signal = (dump_type == kDebuggerdJavaBacktrace) ? SIGQUIT : DEBUGGER_SIGNAL; in send_signal() 51 val.sival_int = (dump_type == kDebuggerdNativeBacktrace) ? 1 : 0; in send_signal() 68 bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int timeout_ms, in debuggerd_trigger_dump() argument 71 if (dump_type == kDebuggerdJavaBacktrace) { in debuggerd_trigger_dump() 124 InterceptRequest req = {.pid = pid, .dump_type = dump_type}; in debuggerd_trigger_dump() 181 if (!send_signal(tid, dump_type)) { in debuggerd_trigger_dump() 254 int dump_backtrace_to_file(pid_t tid, DebuggerdDumpType dump_type, int fd) { in dump_backtrace_to_file() argument 255 return dump_backtrace_to_file_timeout(tid, dump_type, 0, fd); in dump_backtrace_to_file() 258 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/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/ |
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 | 235 static void ParseArgs(int argc, char** argv, pid_t* pseudothread_tid, DebuggerdDumpType* dump_type)… in ParseArgs() argument 252 *dump_type = static_cast<DebuggerdDumpType>(dump_type_int); in ParseArgs() 415 DebuggerdDumpType dump_type; in main() local 420 ParseArgs(argc, argv, &pseudothread_tid, &dump_type); in main() 539 LOG(INFO) << "obtaining output fd from tombstoned, type: " << dump_type; in main() 541 tombstoned_connect(g_target_thread, &g_tombstoned_socket, &g_output_fd, dump_type); in main()
|
D | debuggerd_test.cpp | 104 InterceptRequest req = {.pid = target_pid, .dump_type = intercept_type}; in tombstoned_intercept() 720 __attribute__((noinline)) extern "C" bool raise_debugger_signal(DebuggerdDumpType dump_type) { in raise_debugger_signal() argument 726 if (dump_type != kDebuggerdNativeBacktrace && dump_type != kDebuggerdTombstone) { in raise_debugger_signal() 730 siginfo.si_value.sival_int = dump_type == kDebuggerdNativeBacktrace; in raise_debugger_signal() 744 static const auto dump_type = kDebuggerdTombstone; in TEST_F() local 747 raise_debugger_signal(dump_type); in TEST_F() 752 StartIntercept(&output_fd, dump_type); in TEST_F() 777 static const auto dump_type = kDebuggerdNativeBacktrace; in TEST_F() local 785 raise_debugger_signal(dump_type); in TEST_F() 790 StartIntercept(&output_fd, dump_type); in TEST_F()
|
/system/core/debuggerd/tombstoned/include/tombstoned/ |
D | tombstoned.h | 26 android::base::unique_fd* output_fd, DebuggerdDumpType dump_type);
|