diff options
| author | 2016-03-17 14:59:13 -0700 | |
|---|---|---|
| committer | 2016-03-17 14:59:13 -0700 | |
| commit | 3dba69aad214a873c619d125ff0441b817947100 (patch) | |
| tree | f56aa5cef9a11d8a1a9ce4b62d55a9bc2e658a9e /cmds/dumpstate/utils.cpp | |
| parent | ec3c05b2d47efaca03ec42572fc2631af5267438 (diff) | |
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
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
| -rw-r--r-- | cmds/dumpstate/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |