Home
last modified time | relevance | path

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

/system/core/debuggerd/
Dcrash_dump.cpp197 static unique_fd g_output_fd; variable
219 if (!tombstoned_connect(g_target_thread, &g_tombstoned_socket, &g_output_fd, &g_proto_fd, in Initialize()
227 dprintf(g_output_fd.get(), "crash_dump failed to dump process"); in Initialize()
229 dprintf(g_output_fd.get(), " %d: %s\n", g_target_thread, abort_msg); in Initialize()
231 dprintf(g_output_fd.get(), ": %s\n", abort_msg); in Initialize()
578 g_tombstoned_connected = tombstoned_connect(g_target_thread, &g_tombstoned_socket, &g_output_fd, in main()
583 if (TEMP_FAILURE_RETRY(dup2(g_output_fd.get(), STDOUT_FILENO)) == -1) { in main()
584 PLOG(ERROR) << "failed to dup2 output fd (" << g_output_fd.get() << ") to STDOUT_FILENO"; in main()
589 g_output_fd = std::move(devnull); in main()
622 dump_backtrace(std::move(g_output_fd), &unwinder, thread_info, g_target_thread); in main()
[all …]