summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-08-11 23:15:47 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-11 23:15:47 +0000
commitd213f5e7a4bee477c707fc428cb24aa503971ef1 (patch)
tree797e1410faed8b6fc19c37dbf0c335d5a20fda75 /cmds
parent1362ec74fc4f1dc223c9c322f8f49c966ba67594 (diff)
parentecc0763e6c96c418ea4ee6c993d58d16a58407b3 (diff)
downloadframeworks_native-d213f5e7a4bee477c707fc428cb24aa503971ef1.zip
frameworks_native-d213f5e7a4bee477c707fc428cb24aa503971ef1.tar.gz
frameworks_native-d213f5e7a4bee477c707fc428cb24aa503971ef1.tar.bz2
am ecc0763e: dumpstate: add logcat -b all -S
* commit 'ecc0763e6c96c418ea4ee6c993d58d16a58407b3': dumpstate: add logcat -b all -S
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 1d9e6b8..ef8db06 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -348,6 +348,8 @@ static void dumpstate() {
}
run_command("RADIO LOG", timeout / 1000, "logcat", "-b", "radio", "-v", "threadtime", "-d", "*:v", NULL);
+ run_command("LOG STATISTICS", 10, "logcat", "-b", "all", "-S", NULL);
+
/* show the traces we collected in main(), if that was done */
if (dump_traces_path != NULL) {
dump_file("VM TRACES JUST NOW", dump_traces_path);