From 3be68745ae2ffedf3381f01541d265fa358b720e Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 18 Feb 2021 16:56:48 -0800 Subject: [PATCH] Generate text tombstones from proto tombstones by default. We're running into timeouts from death tests because we're ~doubling the cost of crash dumping by doing it twice. Bug: http://b/180605583 Test: treehugger Change-Id: If5b40434171323a09960b70af0124ec08bd3fbe8 --- debuggerd/libdebuggerd/tombstone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuggerd/libdebuggerd/tombstone.cpp b/debuggerd/libdebuggerd/tombstone.cpp index 185bd6e73..c1a59d85c 100644 --- a/debuggerd/libdebuggerd/tombstone.cpp +++ b/debuggerd/libdebuggerd/tombstone.cpp @@ -619,7 +619,7 @@ void engrave_tombstone(unique_fd output_fd, unique_fd proto_fd, unwindstack::Unw log.tfd = output_fd.get(); log.amfd_data = amfd_data; - bool translate_proto = GetBoolProperty("debug.debuggerd.translate_proto_to_text", false); + bool translate_proto = GetBoolProperty("debug.debuggerd.translate_proto_to_text", true); if (translate_proto) { tombstone_proto_to_text(tombstone, [&log](const std::string& line, bool should_log) { _LOG(&log, should_log ? logtype::HEADER : logtype::LOGS, "%s\n", line.c_str());