From 3dba69aad214a873c619d125ff0441b817947100 Mon Sep 17 00:00:00 2001 From: Felipe Leme Date: Thu, 17 Mar 2016 14:59:13 -0700 Subject: Added -q flag to showmap. dumpstate calls showmap for each pid, and since most of them are empty, it ends up polluting logcat with entries like: 03-17 14:49:05.974 12160 12160 E dumpstate: command '/system/xbin/su root showmap -q 9867' failed: No such file or directory BUG: 26906985 Change-Id: I7e064b2ec8901b6ccee49b228be96ff2847c703c --- cmds/dumpstate/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/dumpstate/utils.cpp') diff --git a/cmds/dumpstate/utils.cpp b/cmds/dumpstate/utils.cpp index f0feb8e1b3..d21ef7bd03 100644 --- a/cmds/dumpstate/utils.cpp +++ b/cmds/dumpstate/utils.cpp @@ -394,7 +394,7 @@ void do_showmap(int pid, const char *name) { sprintf(title, "SHOW MAP %d (%s)", pid, name); sprintf(arg, "%d", pid); - run_command(title, 10, SU_PATH, "root", "showmap", arg, NULL); + run_command(title, 10, SU_PATH, "root", "showmap", "-q", arg, NULL); } static int _dump_file_from_fd(const char *title, const char *path, int fd) { -- cgit v1.2.3-59-g8ed1b