OSDN Git Service

dumpstate: dump list of hardware hals on device
authorSteven Moreland <smoreland@google.com>
Wed, 1 Feb 2017 03:50:46 +0000 (19:50 -0800)
committerSteven Moreland <smoreland@google.com>
Wed, 1 Feb 2017 04:03:17 +0000 (04:03 +0000)
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

cmds/dumpstate/dumpstate.cpp

index e13ae43..6dbb967 100644 (file)
@@ -963,6 +963,8 @@ static void dumpstate() {
                {"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;