From 54a11d3b60587b338349509a6265ee7b46421125 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 24 Feb 2017 14:42:19 -0800 Subject: [PATCH] dumpstate: run lshal as root. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 349bbedc6d..3972cba82b 100644 --- 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"}); -- 2.11.0