Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58e0649e authored by Yao Chen's avatar Yao Chen
Browse files

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
parent 8fbdf7c8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 {