Home
last modified time | relevance | path

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

/system/core/debuggerd/tombstoned/
Dintercept_manager.cpp67 << 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 …]
Dtombstoned_client.cpp36 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()
Dintercept_manager.h44 DebuggerdDumpType dump_type = kDebuggerdNativeBacktrace; member
56 bool GetIntercept(pid_t pid, DebuggerdDumpType dump_type, android::base::unique_fd* out_fd);
Dtombstoned.cpp300 crash->crash_type = request.packet.dump_request.dump_type; in crash_request_cb()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp48 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/
Dclient.h29 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/
Ddebuggerd.cpp64 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()
Dprotocol.h48 DebuggerdDumpType dump_type; member
63 DebuggerdDumpType dump_type; member
Dcrash_dump.cpp235 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()
Ddebuggerd_test.cpp104 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/
Dtombstoned.h26 android::base::unique_fd* output_fd, DebuggerdDumpType dump_type);