use threadtime when collecting logcat

Bug: 31048686
Test: make droid

Change-Id: I55cd38b9cdc4224fcd319af706d421cdac062f83
This commit is contained in:
Guang Zhu
2016-08-24 10:21:10 -07:00
parent 4e3fe5c7d8
commit d8ac1dd3ed

View File

@@ -13820,7 +13820,7 @@ public final class ActivityManagerService extends ActivityManagerNative
try {
java.lang.Process logcat = new ProcessBuilder(
"/system/bin/timeout", "-k", "15s", "10s",
"/system/bin/logcat", "-v", "time", "-b", "events", "-b", "system",
"/system/bin/logcat", "-v", "threadtime", "-b", "events", "-b", "system",
"-b", "main", "-b", "crash", "-t", String.valueOf(lines))
.redirectErrorStream(true).start();