summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.cpp
diff options
context:
space:
mode:
author Andy Hung <hunga@google.com> 2016-04-13 19:35:34 -0700
committer Andy Hung <hunga@google.com> 2016-04-13 19:42:38 -0700
commit5c04e7465eda8a558244e772da1e7d2a0d5f94e2 (patch)
tree3e2b097570a499e6ea2ac986a185505eb9003273 /cmds/dumpstate/utils.cpp
parentda2a8ca00636f63c8cec6135a5d5675a71c505f1 (diff)
Unify dumped native stack traces
Bug: 28179196 Change-Id: Ie728ceace7aaf38389dd9684342e351feed6e5a7
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
-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",