Watchdog: add media.metrics

The media.metrics dump will show with an ANR, so to observe this,
one can force an ANR by stopping a key service
e.g. adb shell 'kill -STOP $(pgrep audioserver)'
and waiting a couple of minutes.

Test: adb bugreport
Bug: 71483452
Change-Id: Ie6fb2377eaecbb9e3c09f0e1b0a55c284fd4bc5f
This commit is contained in:
Andy Hung
2018-01-04 12:05:43 -08:00
parent c6dd5f9037
commit b1c4c93a9b

View File

@@ -87,6 +87,7 @@ public class Watchdog extends Thread {
"/system/bin/sdcard",
"/system/bin/surfaceflinger",
"media.extractor", // system/bin/mediaextractor
"media.metrics", // system/bin/mediametrics
"media.codec", // vendor/bin/hw/android.hardware.media.omx@1.0-service
"com.android.bluetooth", // Bluetooth service
};