summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Kevin Jeon <kevinjeon@google.com> 2023-04-04 15:00:34 -0400
committer Kevin Jeon <kevinjeon@google.com> 2023-04-04 16:53:06 -0400
commitb8a393688f3ec5a8ce984cc95021c7a75ae9eb67 (patch)
tree5ee72795fc8485006096c57b0d9729fdc0457ee4 /libs/binder/RpcState.cpp
parent9a983f2f5ece94cdcddf86392d2987837a402e9b (diff)
Reduce debuggerd backtrace timeouts in dumpstate
This change reduces the per-process timeouts for dumping backtraces from 5 (Java processes) and 20 (native processes) seconds to 3 seconds. A large amount of the time spent in dumpstate's DUMP TRACES task can be attributed to waiting for timeouts to expire, even though successfully-dumped backtraces typically complete under 1 second. If the current 5 or 20 second timeout is reached, it's more likely that the process is blocked on something else, rather than the trace dump just needing more time to finish. Test: - Collect a bug report with 'adb shell bugreportz' and verify that there aren't any more timed-out trace dumps than usual. - Set the timeout to something even larger (60s) and check that there are still timed-out trace dumps, and that there are no dumps that were successful because of the increased timeout. Bug: 276451949 Change-Id: I5fe89fdd720af56030ecdf7dd82ccc61a83fe58a
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions