summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andy Hung <hunga@google.com> 2016-04-14 20:47:23 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-04-14 20:47:25 +0000
commitd74bcdae53a9547fc6dea81055e8c3cf166d2909 (patch)
tree680eff80a0ae6015e006040088078d7c446fb38d
parent202e6e932cfd9bd97053681da438146d151286cc (diff)
parent5c04e7465eda8a558244e772da1e7d2a0d5f94e2 (diff)
Merge "Unify dumped native stack traces" into nyc-dev
-rw-r--r--cmds/dumpstate/utils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/dumpstate/utils.cpp b/cmds/dumpstate/utils.cpp
index da4b5add3e..f1a1ed6aa7 100644
--- a/cmds/dumpstate/utils.cpp
+++ b/cmds/dumpstate/utils.cpp
@@ -51,10 +51,14 @@
static const int64_t NANOS_PER_SEC = 1000000000;
/* list of native processes to include in the native dumps */
+// This matches the /proc/pid/exe link instead of /proc/pid/cmdline.
static const char* native_processes_to_dump[] = {
"/system/bin/audioserver",
"/system/bin/cameraserver",
"/system/bin/drmserver",
+ "/system/bin/mediacodec", // media.codec
+ "/system/bin/mediadrmserver",
+ "/system/bin/mediaextractor", // media.extractor
"/system/bin/mediaserver",
"/system/bin/sdcard",
"/system/bin/surfaceflinger",