Commit graph

8 commits

Author SHA1 Message Date
Michael Eastwood
65e028b428 Attach the latest .cpa file to bugreports.
* 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: `adb bugreport`, unzip, `tar -xvf dumpstate_board.bin`, find expected .cpa file
Change-Id: Ie05e8d446588cebea46492b267491065161915a1
2021-07-09 15:18:01 +00:00
SalmaxChang
0979e06146 dumpstate: Sync features from P20
- Create thread to collect modem related logs into dumpstate_board.bin.
- Reference verbose logging property

Bug: 176176656
Bug: 190329829

Change-Id: I514ae6d00599239238d0f1a2a2ec0cc2c8c15043
2021-06-24 10:02:11 +00:00
Armelle Laine
fbbe7e36c7 dumpstate: dump trusty log
Dump trusty log buffer

Bug: 188285071
Test: adb bugreport
Change-Id: Ic44816fe1df21e97ec87ec58cbc2f84abf0e6a98
2021-06-15 14:35:43 +00:00
Zhijun He
8a52881a41 dumpstate: add camera hal graph state dump
Only dump the latest dump files so that bugreport
size won't be increased by too much.

Test: build and capture bugreport
Bug: 178737594
Change-Id: I699ee76997c9107dad13419688f3c6c04551313b
2021-05-18 00:42:11 +00:00
Craig Dooley
be26bc083e Add AoC specific logs to dumpstate
Bug: 187961753
Change-Id: I871912c8b5e49618935f347476ca5cce9ad233aa
2021-05-12 22:01:06 +00:00
Qinchen Gu
7aafb36f77 Dump GSC info
Bug: 185939493
Test: adb bugreport. Look for GSC-related info.

Change-Id: I17fd4d7ef4c16661312d594c99818233cd0ee76a
2021-05-12 10:02:28 +00:00
Alex Hong
ad5196c2c2 Update dumpstate HAL to V1.1
This is a manual porting from ag/10344396.
Replace the usage of "persist.vendor.verbose_logging_enabled" since we are not using
this property for Whitechapel.
Use the default property "persist.dumpstate.verbose_logging.enabled" instead.

Test: atest VtsHalDumpstateV1_1TargetTest pass
Bug: 186539439
Change-Id: I3f0d35647c0748d360b12d3be078d514f99d23d5
2021-05-05 06:09:11 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00