OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2992c1c
)
dumpstate: run lshal as root.
author
Steven Moreland
<smoreland@google.com>
Fri, 24 Feb 2017 22:42:19 +0000
(14:42 -0800)
committer
Steven Moreland
<smoreland@google.com>
Fri, 24 Feb 2017 22:43:23 +0000
(14:43 -0800)
Running lshal as root gives additional information about which processes
have registered with which hals.
Test: adb bugreport and checked for appropriate output in lshal
Fixes:
35741078
Change-Id: I75606909ebccf2df3dc164d72edd2456facb3ad3
cmds/dumpstate/dumpstate.cpp
patch
|
blob
|
history
diff --git
a/cmds/dumpstate/dumpstate.cpp
b/cmds/dumpstate/dumpstate.cpp
index
349bbed
..
3972cba
100644
(file)
--- a/
cmds/dumpstate/dumpstate.cpp
+++ b/
cmds/dumpstate/dumpstate.cpp
@@
-960,7
+960,7
@@
static void dumpstate() {
{"ps", "-A", "-T", "-Z", "-O", "pri,nice,rtprio,sched,pcy"});
RunCommand("LIBRANK", {"librank"}, CommandOptions::AS_ROOT);
- RunCommand("HARDWARE HALS", {"lshal"});
+ RunCommand("HARDWARE HALS", {"lshal"}
, CommandOptions::AS_ROOT
);
RunCommand("PRINTENV", {"printenv"});
RunCommand("NETSTAT", {"netstat", "-nW"});