Merge "use threadtime when collecting logcat" into nyc-mr1-dev

This commit is contained in:
TreeHugger Robot
2016-08-24 23:11:02 +00:00
committed by Android (Google) Code Review

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();