summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Anderson <dvander@google.com> 2019-10-02 15:18:59 -0700
committer David Anderson <dvander@google.com> 2019-10-02 15:19:50 -0700
commit6650adeeda26e45a2c6fdd01266578e236cd5155 (patch)
tree347ed090239f11a9296d0e37879c1fa959aa6e12
parent7f10d41dc3d7f40ecb1b442448a9d9317753148c (diff)
dumpstate: Dump device-mapper info via gsid.
Example spew: Device system_ext_a (253:4) linear 0 15288 8:14 6197504 Device userdata (253:6) default-key 0 96124888 AES-256-XTS - 8:15 0 Bug: 140204341 Test: dumpstate Change-Id: I1f099ad6898f458d1839be6c98356480627ea6cb
-rw-r--r--cmds/dumpstate/dumpstate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index bedf81fb04..9cccd5b14b 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -960,6 +960,7 @@ static void DumpDynamicPartitionInfo() {
}
RunCommand("LPDUMP", {"lpdump", "--all"});
+ RunCommand("DEVICE-MAPPER", {"gsid", "dump-device-mapper"});
}
static void AddAnrTraceDir(const bool add_to_zip, const std::string& anr_traces_dir) {