summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yao Chen <yaochen@google.com> 2025-03-14 12:05:03 -0700
committer Yao Chen <yaochen@google.com> 2025-03-14 12:06:21 -0700
commit58e0649e8357b1b9694edb125fa75900b4d247c9 (patch)
tree52ef5cfaf179f7a8a25818151b6602271579a7b1
parent8fbdf7c8429d289604ac0dbff95cf48c41cd9c18 (diff)
incidentd: filter more unnecessary sections from bugreports
This change includes the following updates: * filter out dumpsys last x logs section * filter out all dumpsys sections except for odpm Test: adb bugreport Bug: 382611507 Change-Id: Ie423d6140faa012ff3d230fc441d67c2959863fe
-rw-r--r--cmds/incidentd/src/IncidentService.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmds/incidentd/src/IncidentService.cpp b/cmds/incidentd/src/IncidentService.cpp
index 5ebf3e2c3047..de35ffc3fdb9 100644
--- a/cmds/incidentd/src/IncidentService.cpp
+++ b/cmds/incidentd/src/IncidentService.cpp
@@ -52,7 +52,11 @@ enum {
#define SKIPPED_DUMPSTATE_SECTIONS { \
1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, /* Logs */ \
1200, 1201, 1202, /* Native, hal, java traces */ \
- 3018, /* dumpsys meminfo*/ }
+ /* dumpsys sections except for odpm data (3054- 3056) which are still needed */ \
+ 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3011, 3012, 3013, \
+ 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024, 3027, 3028, 3029, \
+ 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037, 3038, 3039, 3040, 3041, 3042, 3043, \
+ 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 4000, 4001,}
namespace android {
namespace os {