lib: dss: remove task info in case of panic
authorYoungmin Nam <youngmin.nam@samsung.com>
Mon, 24 Dec 2018 13:10:06 +0000 (22:10 +0900)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:29 +0000 (17:30 +0800)
To get more panic log, we remove task info
Mot-CRs-fixed: (CR)
Change-Id: I962d96242da9c20ba8b6e1625aeae42fa1a22b4f
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1286932
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

lib/debug-snapshot-helper.c

index 7f464ee04c049dd0e7b40d1f70216da61a7e7b0d..b46f6cc768522d316b9cd6d54186da8bb9173821 100644 (file)
@@ -365,7 +365,10 @@ static int dbg_snapshot_panic_handler(struct notifier_block *nb,
 #else
        pr_emerg("debug-snapshot: panic - normal[%s]\n", __func__);
 #endif
-       dbg_snapshot_dump_task_info();
+       /*
+        * To get more kernel panic log
+        * dbg_snapshot_dump_task_info();
+        */
        pr_emerg("linux_banner: %s\n", linux_banner);
 
        return 0;