summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-09-25 12:42:07 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-09-25 12:42:07 +0000
commitf636bc8d568c10627317566d77436af4db389a45 (patch)
tree0563d0387b54a7b3242ba92b7f2f85251a1a01c7
parentf3c911a9d18b362d8209350811dfba5d4eab3db0 (diff)
parent5aa8d157afa3e15419a41bf0da0500d6ba01596b (diff)
Merge "dumpstate.cpp: increase perfetto serialization timeout" into main
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 4e3889af61..d427ecf280 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -3538,7 +3538,7 @@ std::future<std::string> Dumpstate::MaybeSnapshotSystemTraceAsync() {
// the dumpstate's own activity which is irrelevant.
RunCommand(
SERIALIZE_PERFETTO_TRACE_TASK, {"perfetto", "--save-for-bugreport"},
- CommandOptions::WithTimeout(10).DropRoot().CloseAllFileDescriptorsOnExec().Build(),
+ CommandOptions::WithTimeout(30).DropRoot().CloseAllFileDescriptorsOnExec().Build(),
false, outFd);
// MaybeAddSystemTraceToZip() will take care of copying the trace in the zip
// file in the later stages.