diff options
author | 2015-02-26 17:29:07 +0000 | |
---|---|---|
committer | 2015-02-26 17:29:07 +0000 | |
commit | 2f655daeea66bf5d0e065b45a7abd515cfeeaf97 (patch) | |
tree | f7c761426ed68f7fcb41c85c09b4091bc3b15b9d | |
parent | 6f57b269f9ae779a0e85919cdc7a54bfb383e402 (diff) | |
parent | bb67beca35e7d570ede193a316a92022fbc2f810 (diff) |
am bb67beca: Merge "dumpstate: add pstore read"
* commit 'bb67beca35e7d570ede193a316a92022fbc2f810':
dumpstate: add pstore read
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 5d236d7926..f419a2babc 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -239,6 +239,10 @@ static void dumpstate() { dump_file("LAST PANIC CONSOLE", "/data/dontpanic/apanic_console"); dump_file("LAST PANIC THREADS", "/data/dontpanic/apanic_threads"); + /* kernels must set CONFIG_PSTORE_PMSG, slice up pstore with device tree */ + run_command("LAST LOGCAT", 10, "logcat", "-L", "-v", "threadtime", + "-b", "all", "-d", "*:v", NULL); + for_each_userid(do_dump_settings, NULL); /* The following have a tendency to get wedged when wifi drivers/fw goes belly-up. */ |