summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chalard Jean <jchalard@google.com> 2019-04-04 18:23:04 +0900
committer Chalard Jean <jchalard@google.com> 2019-04-05 18:22:51 +0900
commitbd52694e5e43e990e14f6652bad965cd43b1df92 (patch)
tree2d353abaa8d7b8de9f4c3005686e4454db1770ab
parent4bd23b25123e7e8a42780602e1a47b42d93eff5b (diff)
Add netd to the list of native processes dumped for bugreports
This adds netd to the list of important native processes that we want the stack traces of when collecting a bug report. Out of 1:15 of dump, taking the stack traces of all these processes is taking about 2.5 seconds on crosshatch according to my (low data count) measurements. Adding netd seems to increase the average by about 1 second measured over 2x5 runs. Test: manual Bug: 128804277 Change-Id: I2a560af11c2b11cdae895c68ae9db6a9d148f037 (cherry picked from commit 9e43a45a6bb5e1b3f4a102ff044ee63fc9cd5457)
-rw-r--r--libs/dumputils/dump_utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/dumputils/dump_utils.cpp b/libs/dumputils/dump_utils.cpp
index 04884bb3ec..cc514b3f7b 100644
--- a/libs/dumputils/dump_utils.cpp
+++ b/libs/dumputils/dump_utils.cpp
@@ -31,6 +31,7 @@ static const char* native_processes_to_dump[] = {
"/system/bin/mediaextractor", // media.extractor
"/system/bin/mediametrics", // media.metrics
"/system/bin/mediaserver",
+ "/system/bin/netd",
"/system/bin/sdcard",
"/system/bin/statsd",
"/system/bin/surfaceflinger",