dumpstate: dump list of hardware hals on device
lshal is a binary on the device that lists all registered and
passthrough hardware hals that are currently running.
Fixes: 34809346
Test: bugreport includes lshal dump
Change-Id: Ia1340d1b94ac4c902a81b709924ebf45462435cc
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index e13ae43..6dbb967 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -963,6 +963,8 @@
{"ps", "-A", "-T", "-Z", "-O", "pri,nice,rtprio,sched,pcy"});
RunCommand("LIBRANK", {"librank"}, CommandOptions::AS_ROOT);
+ RunCommand("HARDWARE HALS", {"lshal"});
+
RunCommand("PRINTENV", {"printenv"});
RunCommand("NETSTAT", {"netstat", "-nW"});
struct stat s;