am 2f655dae: am bb67beca: Merge "dumpstate: add pstore read"

* commit '2f655daeea66bf5d0e065b45a7abd515cfeeaf97':
  dumpstate: add pstore read
This commit is contained in:
Mark Salyzyn 2015-02-26 17:35:44 +00:00 committed by Android Git Automerger
commit d6c8ae9c15

View File

@ -239,6 +239,10 @@ static void dumpstate() {
dump_file("LAST PANIC CONSOLE", "/data/dontpanic/apanic_console"); dump_file("LAST PANIC CONSOLE", "/data/dontpanic/apanic_console");
dump_file("LAST PANIC THREADS", "/data/dontpanic/apanic_threads"); 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); for_each_userid(do_dump_settings, NULL);
/* The following have a tendency to get wedged when wifi drivers/fw goes belly-up. */ /* The following have a tendency to get wedged when wifi drivers/fw goes belly-up. */