summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-12-14 16:33:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-12-14 16:33:00 +0000
commitbc611a1d3e2beea849a251fecda096ed142519a6 (patch)
treeb44b93a3b6bfed7855ddb2548f75e56bae77102e
parentc93d0937e4e86a260f4dc6b91971b6750f67a3f3 (diff)
parentc7ad8cb82f035576c28707a8cbeb16b7ead2a4e7 (diff)
downloadnative-bc611a1d3e2beea849a251fecda096ed142519a6.tar.gz
Merge "dumpstate: Add security log dump"
-rw-r--r--cmds/dumpstate/dumpstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index e0fd6550eb..9d07b09542 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -340,11 +340,12 @@ static void dumpstate() {
"-v", "printable",
"-d",
"*:v", NULL);
- timeout = logcat_timeout("events");
+ timeout = logcat_timeout("events") + logcat_timeout("security");
if (timeout < 20000) {
timeout = 20000;
}
run_command("EVENT LOG", timeout / 1000, "logcat", "-b", "events",
+ "-b", "security",
"-v", "threadtime",
"-v", "printable",
"-d",