From 3362c523f1ad38dd72720d2b31f30ce7da51fe43 Mon Sep 17 00:00:00 2001 From: Youngmin Nam Date: Mon, 24 Dec 2018 22:10:06 +0900 Subject: [PATCH] lib: dss: remove task info in case of panic To get more panic log, we remove task info Mot-CRs-fixed: (CR) Change-Id: I962d96242da9c20ba8b6e1625aeae42fa1a22b4f Signed-off-by: Youngmin Nam Signed-off-by: zhaoxp3 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/debug-snapshot-helper.c b/lib/debug-snapshot-helper.c index 7f464ee04c04..b46f6cc76852 100644 --- a/lib/debug-snapshot-helper.c +++ b/lib/debug-snapshot-helper.c @@ -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; -- 2.20.1