From 0e8dc978b60517876c2b8e3e20f2691581c38f76 Mon Sep 17 00:00:00 2001 From: nischaljain Date: Wed, 5 Apr 2023 19:52:53 +0000 Subject: [PATCH] Limit maxGxpDebugDumps to 3. DSP multicore workload can run atmost on 3 cores thus in case of crash we will need atmost 3 core dumps. Thus limiting maxGxpDebugDumps to 3 to make sure that we will be capturing all the required core dumps for the recent crash and at the same time not inflating the bugreport size. Bug: 275756225,274956438 Test: Verified the changes on the device using ab/P53879006. Change-Id: Iede8ec4204d58fdedbe4141bf57fc434b411bf0c Signed-off-by: nischaljain --- gxp/dump_gxp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gxp/dump_gxp.cpp b/gxp/dump_gxp.cpp index 80730fa..1ab4442 100644 --- a/gxp/dump_gxp.cpp +++ b/gxp/dump_gxp.cpp @@ -17,7 +17,7 @@ #include #include -#define maxGxpDebugDumps 8 +#define maxGxpDebugDumps 3 int main() { if(::android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", false)) {