From 23c28194a143a74e9081cf4e82ed4483e3382a6f Mon Sep 17 00:00:00 2001 From: a17671 Date: Wed, 19 Sep 2018 14:57:05 +0800 Subject: [PATCH] Fix the breakage of log_pstore function Ramoops does not work after adding annotation Total memory size exceeds the oriGinal 2M Reduce the ftrace_size to fix the problem Change-Id: I9f0a140e653bb08644201a855cad65e381214cc1 Signed-off-by: a17671 Reviewed-on: https://gerrit.mot.com/1243000 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Master Yoda Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- lib/debug-snapshot-pstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debug-snapshot-pstore.c b/lib/debug-snapshot-pstore.c index 460f740484e2..ecc3534ccb95 100644 --- a/lib/debug-snapshot-pstore.c +++ b/lib/debug-snapshot-pstore.c @@ -218,7 +218,7 @@ static struct ramoops_platform_data dss_ramoops_data = { #else .record_size = SZ_512K, .console_size = SZ_512K, - .ftrace_size = SZ_512K, + .ftrace_size = SZ_256K, .pmsg_size = SZ_512K, .annotate_size = SZ_2K, #endif -- 2.20.1