Include stack traces for certain native processes in bugreport.
Bug: 6615693
Change-Id: I64c3b3ce0bba62d9c332a795f7d979fb753dc27b
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 165f11c..3b28b22 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -324,8 +324,8 @@
fclose(oom_adj);
}
- /* very first thing, collect VM traces from Dalvik (needs root) */
- dump_traces_path = dump_vm_traces();
+ /* very first thing, collect stack traces from Dalvik and native processes (needs root) */
+ dump_traces_path = dump_traces();
int c;
while ((c = getopt(argc, argv, "b:de:ho:svzp")) != -1) {