summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Jeon <kevinjeon@google.com> 2023-04-05 19:33:40 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-04-05 19:33:40 +0000
commitba9df0b0dee1bbce3d29d99203c4e835f255408a (patch)
treedfef2b29a2c6865ed0b98fdf19bd35acac5ab735
parent42c73a38fc6b2e78e6c7cbe33f9601ebaa245036 (diff)
parentb8a393688f3ec5a8ce984cc95021c7a75ae9eb67 (diff)
Merge "Reduce debuggerd backtrace timeouts in dumpstate"
-rw-r--r--cmds/dumpstate/dumpstate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 0e42992928..f1757dcfd6 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -2229,8 +2229,7 @@ Dumpstate::RunStatus Dumpstate::DumpTraces(const char** path) {
const uint64_t start = Nanotime();
const int ret = dump_backtrace_to_file_timeout(
- pid, is_java_process ? kDebuggerdJavaBacktrace : kDebuggerdNativeBacktrace,
- is_java_process ? 5 : 20, fd);
+ pid, is_java_process ? kDebuggerdJavaBacktrace : kDebuggerdNativeBacktrace, 3, fd);
if (ret == -1) {
// For consistency, the header and footer to this message match those