Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f817218e authored by Dima Zavin's avatar Dima Zavin
Browse files

dumpstate: Pick up the last kernel log from /proc



This is needed since its no longer copied to /data/dontpanic by init.

Change-Id: I5217da73ec470653824b7fb9a31e093e263a8dc9
Signed-off-by: default avatarDima Zavin <dima@android.com>
parent bcab01f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ static void dumpstate(int full) {
        PRINT("------ PACKAGE UID ERRORS ------");
        DUMP("/data/system/uiderrors.txt");

        dump_kernel_log("/data/dontpanic/last_kmsg", "LAST KMSG");
        dump_kernel_log("/proc/last_kmsg", "LAST KMSG");

        PRINT("------ LAST RADIO LOG ------");
        EXEC1("parse_radio_log", "/proc/last_radio_log");