thismeal.txt captures the ODPM breakdown when mitigation interrupt
occurs. This can help understand the power breakdown when interrupt
happens.
Bug: 238435115
Test: Bugreport contains the thismeal.txt once mitigation interrupt
triggers.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I5dcfbaae9832b4e0c50293d0cc45d4b40ac9da7f
At bugreport, dump cma information, which is useful for CMA
memory leak.
Bug: 233535442
Test: adb bugreport contains cma information in dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I37aa901b0376d5187c18c73422e9fa56bfd0d6bc
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts. Information
collected is to help debug system brownout. This change is to enable
bugreport reading out the mitigation log.
Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia735e46fc1b86b1971e8838d43f8733c73793ef8
Change konb name to "buffer"
Bug: 230651222
Test: check dumpstate_board.txt from adb bugreport
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I80674d8728bab322ae2acdb3a8cd0ffaff39c977
The duration of dumpstate board binary is only 45s.
Change the log compression timeout from 120s to 20s.
Bug: 229932116
Change-Id: I4f3ebe0c89db50a3ad7071fe730585a391f7ac81
lshal is not supported for AIDL, now use dumpsys instead.
Update the debug command as below.
Old: lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default [section]
New: dumpsys android.hardware.dumpstate.IDumpstateDevice/default [section]
Currently dumpsys does not start the Lazy HAL service, only dumpstate does.
Because we need to run dumpsys for debugging, keep the dumpstate HAL running at boot.
Do not set it to be a lazy HAL.
Test: atest VtsHalDumpstateTargetTest pass
adb shell dumpsys -t 30 android.hardware.dumpstate.IDumpstateDevice/default all
Bug: 223118410
Change-Id: I7f866a57c3eff8c9783fee89dce205cf9728c459
Do not dump the touch heatmap data to fix touch abnormally after bugreport.
This is the WA. I will revert it after kernel includes the solution
commit pa/2194708.
Bug: 228928861
Test: touch works well after triggering bugreport.
Change-Id: I43a92efa78d8b77e1616c8bf63800d5a93b99456
Dump the touch information and rawdata when bugreport is triggered.
Bug: 199105131
Test: adb bugreport
Change-Id: Ie2450a3530ebd615067eaa70f1a0d74985d0e758
Remove tasks printing when dumping state and clean up format
Bug: 226718218
Test: On C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I275b9d213c133e8b80cbdb88d587c83cfe395089
(cherry picked from commit ce46e3cd48)
Add additional AoC Entries to dumpstate to improve debuggability
Bug: 225585054
Test: On P10/C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I2c276a0c157e64b3f376c4af1dbe214223a22af7
(cherry picked from commit 1f1958d031)
AoC memory dumps will take too long time and cause dumpstate board
timeout. Add 2s timeout for the memory dumps.
Bug: 216422700
Test: Triggered bugreport and checked dumpstate file.
Change-Id: Iedb49fa78caf7c5c54a9a1f69191d7441b7308ee
Dump the touch information and rawdata when bugreport is triggered.
Bug: 199104466
Test: adb bugreport
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I1047ddfd063d90114b3ff2173c3b4da3a2bb414a
In b/183180525, vendor mentioned they won't provide
fw symbol table (logstrs.bin) in terms of their internal
concern. Hence, remove wifi fw symbol table from dumpstate.
Bug: 197849117
Test: build pass, device can connect to AP.
Change-Id: I91f5c38b87fd099961a95ac2ddf7fb8232003cd7
* Latest is determined by alphabetical order
* To find the .cpa file, unzip the bug report and run
`tar -xvf dumpstate_board.bin`
* The .cpa file can then be found under the `camera/` directory
* This can be disabled with the prop
`vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport`
Bug: 191169822
Test: m -j
Change-Id: Iee7fbe45dfd5bbd67af0e5ebd965884b84e531ff