summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.c
diff options
context:
space:
mode:
author Nick Vaccaro <nvaccaro@google.com> 2014-04-30 11:19:23 -0700
committer Nick Vaccaro <nvaccaro@google.com> 2014-04-30 11:28:31 -0700
commit85453ecc90a94564e586f0f97c9ec2c0cf831501 (patch)
tree25c99aa7823628e48c60eb65e5bef68f9df80423 /cmds/dumpstate/utils.c
parentf3c07d4f70f33c2fe5b14ca8fbcdfa4133cc72c7 (diff)
dumpstate: increase poll timeout waiting for SIGQUIT logging
Increased the maximum time dumpstate will wait for SIGQUIT process to finish dumping its thread stacks to the logfile to 5 seconds. Bug: 14057177 Change-Id: I0b43004512855d202f2fe0ea7b0e934e77a3a070
Diffstat (limited to 'cmds/dumpstate/utils.c')
-rw-r--r--cmds/dumpstate/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/utils.c b/cmds/dumpstate/utils.c
index fe716acfe2..dbf0877940 100644
--- a/cmds/dumpstate/utils.c
+++ b/cmds/dumpstate/utils.c
@@ -548,7 +548,7 @@ const char *dump_traces() {
/* wait for the writable-close notification from inotify */
struct pollfd pfd = { ifd, POLLIN, 0 };
- int ret = poll(&pfd, 1, 200); /* 200 msec timeout */
+ int ret = poll(&pfd, 1, 5000); /* 5 sec timeout */
if (ret < 0) {
fprintf(stderr, "poll: %s\n", strerror(errno));
} else if (ret == 0) {