Commit graph

47 commits

Author SHA1 Message Date
Adam Shih
3d012b65dd dumpstate should not be restricted to phones only
Bug: 240530709
Test: adb bugreport
Change-Id: I77d9bc3e75879293802b8d1956bfffee1513e3d7
2023-02-16 12:39:03 +08:00
Adam Shih
5f802b7e13 create cma dump
Bug: 240530709
Test: adb bugreport
Change-Id: Iadac309611bc6dd27615b087f159234d6f1b655c
2023-02-15 12:55:50 +08:00
Adam Shih
8eb00e662f move devfreq dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ia5faaf0891a91fad1120358f38f40f6227d88d45
2023-02-15 11:11:00 +08:00
Adam Shih
ebf2357498 Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I579fb77c2743bae854ff10b1baf895d9df641971
2023-02-14 13:01:52 +08:00
Adam Shih
0584dcc4b5 Remove obsolete led dump
Bug: 240530709
Test: adb bugreport
Change-Id: Ie018b028c6819fb263d39826fd462e232291df6a
2023-02-13 11:54:12 +08:00
Adam Shih
6fe621f1a5 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: I209101de3cc5c583bbe73fbfc29ace80c4da31d2
2023-02-10 13:21:55 +08:00
Adam Shih
948564f82b migrate power section to its own script
Bug: 240530709
Test: adb bugreport
Change-Id: I879525a3c067de1e6e6598d7a29741fd42d2f639
2023-02-08 07:11:44 +00:00
Jenny Ho
5059368362 dumpstate: dump battery defend logbuffer
Bug: 242679204
Change-Id: I85b1b7917445b0c53cff66d51a1af0e00ab488ec
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-05 14:03:30 +08:00
Alex Hong
e040b0838a Merge "Fix the index out of bounds error when the modem FD is missing" 2023-01-13 06:26:41 +00:00
yihsiangpeng
18a6283a65 Dumpstate: update dump path
Bug: 261921843
Change-Id: Id95fcf05e553e977df79b6e42a3d1ae7e1f9eaec
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
2023-01-10 18:05:19 +08:00
Alex Hong
84333eb2dc Fix the index out of bounds error when the modem FD is missing
Bug: 263783650
Test: atest VtsHalDumpstateTargetTest pass
Change-Id: If21800c40a5424d70e10e6dd027cee6737e46863
2023-01-09 21:34:54 +08:00
Taylor Nelms
16a03fb864 Modify dumpstate to point to counters in sysfs rather than debugfs
Bug: 240346564
Test: Build for P23 device with "user" build, check bugreport for decon_counters content
Change-Id: Icb002977d46a50902a426a11305ab4a2a86dfc98
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-16 16:49:46 +00:00
Adam Shih
eeb47d0d4e Merge "create an empty dump for wlan" 2022-12-15 03:15:22 +00:00
Adam Shih
7ee63ad73f create an empty dump for wlan
Bug: 261784587
Test: adb bugreport
Change-Id: Iaeac8e61f9c03ac4b7f6010d7f9b248c0de8415e
2022-12-14 13:34:28 +08:00
Adam Shih
2ebd202504 Merge "move dump cpu to gs-common" 2022-12-14 00:41:15 +00:00
Wiwit Rifa'i
a6cec57be7 dumpstate: change HWC fence & error logs to be per display
hwc_error_log.txt and hwc_fence_state.txt files will be changed to be
per display. Those files could also be divided into at most 2 files,
i.e.
- hwc_error_log.txt will be renamed to
  {DisplayName}_hwc_error_log{index}.txt where {index} is 0 or 1.
- hwc_fence_state.txt will be renamed to
  {DisplayName}_hwc_fence_state{index}.txt where {index} is 0 or 1.

Bug: 245511651
Test: adb bugreport
Change-Id: I0a409e0c2c6cda8294cb4bb675b4e63753d2ca08
2022-12-12 16:19:09 +08:00
Adam Shih
7b12513306 move dump cpu to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I6a8583491b83d9ac8e3d266ae5de03e0510d99a1
2022-12-08 11:27:04 +08:00
Jenny Ho
db6f54a105 dumpstate: add wc68 logbuffer into bugreport
Bug: 260756283
Change-Id: I9a3b4af22dec4ff37de23091eae7f498e791a58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-12-06 00:52:14 +00:00
Adam Shih
eeef57c8fd move touch dump to gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I7ee36ec579a34dc5bcb5eca49cbec61eefe33034
2022-11-28 10:34:54 +08:00
Adam Shih
decd8479fe move gti0 dump to gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I6acf6bc685c71015f84f470683e9a40d379006f2
2022-11-21 13:00:07 +08:00
Adam Shih
65c4cf8753 Merge "remove panther touch dump" 2022-11-21 02:45:44 +00:00
Adam Shih
d4f83391a6 remove panther touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: I866a5ea8c6f1336d04d883f344294872fc9da732
2022-11-18 13:32:39 +08:00
Adam Shih
3c64ee9458 Merge "Remove cheetah's touch setting" 2022-11-17 07:09:29 +00:00
Adam Shih
883561e911 Merge "use gs-common thermal dump" 2022-11-17 02:35:36 +00:00
Adam Shih
b812453669 Remove cheetah's touch setting
Bug: 256521567
Test: adb bugreport
Change-Id: I8b112dfd3bccb6d73030ec6759476944e5785c9a
2022-11-17 10:31:02 +08:00
TreeHugger Robot
68e21ac894 Merge "remove raven touch dump" 2022-11-16 07:42:25 +00:00
Adam Shih
b495bf3ab0 use gs-common thermal dump
Bug: 257880034
Test: adb bugreport
Change-Id: I043b8932d6acc349169e392cb783da6acfa86f5d
2022-11-16 11:10:21 +08:00
Adam Shih
2eb9feabb6 move sensors dump to gs-common
Bug: 250475720
Test: adb bugreport
Change-Id: I06d8c443eaf06813dcf047fd9d4277892c9d516e
2022-11-10 15:04:58 +08:00
Adam Shih
412119e35a remove raven touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: Ic6245796de03a607adb1f2999629732040123f12
2022-11-07 11:36:08 +08:00
Jenny Ho
fe75eb7e14 Merge "dumpstate: dump battery eeprom into bugreport" 2022-11-04 03:30:15 +00:00
TreeHugger Robot
29bad315dc Merge "dumpstate: correct the touch dumpstate path" 2022-11-03 03:16:18 +00:00
Jenny Ho
8ce88826e6 dumpstate: dump battery eeprom into bugreport
Add coresponse path and permission

Bug: 255894697
Change-Id: I597291bba2d17af99825dbe80a8f1436dc73e58f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-02 17:33:13 +08:00
Adam Shih
082bb51497 align user experience on Android bug tool
Bug: 255250616
Test:
adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default wlan

Change-Id: Ibefd8f9fff91cf6ece1f09dd6b207b6f9c97df4d
2022-11-02 13:26:32 +08:00
davidycchen
0c70bcb8b0 dumpstate: correct the touch dumpstate path
Bug: 243077990
Bug: 256913819
Test: trigger bugreport.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I0019587c0fcf5f6446405ea5e9e2a447790ee647
2022-11-02 09:42:23 +08:00
Adam Shih
c745e34cb4 update dumpstate to latest version
Bug: 240530709
Test: adb bugreport
Change-Id: I49ffdcadce89e3dc8859819576998df56928a75a
2022-10-19 15:22:46 +08:00
JJ Lee
2959f5c451 dumpstate: corrected sysfs paths for aoc
Bug: 247448885
Test: build pass
Change-Id: Ie6eae294c080b125f4b042dc6e808773fc2f3fa5
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 14:37:18 +00:00
JJ Lee
70f65d36c6 dumpstate: Add aoc memory vote dump
Bug: 247024476
Test: Boot test, taking bugreport is not blocked
Change-Id: I487daa367af8dade3bca2a52d2c6099fcbf684dc
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 15:11:14 +08:00
TreeHugger Robot
7649ca0327 Merge "dumpstate: add HWC fence state, error log, and debug dump files" 2022-09-07 12:28:32 +00:00
NISCHAL JAIN
872f5b8d58 Merge "Modify GXP coredump naming signature" 2022-08-26 06:22:46 +00:00
Kyle Tso
63d79db02c Dumpstate: Add new path of default tcpm log
Old default path: /sys/kernel/debug/usb/tcpm*
New default path: /sys/kernel/debug/usb/tcpm*/log

Bug: 242682649
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I19efe1b0cf202af132f7598434e13c18c869ae7d
2022-08-25 07:41:22 +00:00
nischaljain
281e1ffab8 Modify GXP coredump naming signature
Currently its "coredump_gxp_platform*" & "crashinfo_gxp_platform*"
Update it to "coredump_gxp_*" & "crashinfo_gxp_*" to incorporate both
Amalthea and Callisto dumps.

Its a modification over CL ag/16787185.

Test: adb root; adb remount -R; adb bugreport
Bug: 236046046
Signed-off-by: nischaljain <nischaljain@google.com>
Change-Id: I1173cca0a8200039f76f2f1dc94e51ecccf3a97e
2022-08-24 12:20:42 +00:00
Wiwit Rifa'i
b8307a286f dumpstate: add HWC fence state, error log, and debug dump files
Add some HWC log files in /data/vendor/log/hwc to dumpstate, i.e.

[1] hwc_fence_state.txt: contains the dump of fence state when there's
a fence leak warning. We can also execute `vndservice call
Exynos.HWCService 11 i32 0 i32 308 i32 1` to trigger the dump to this
file. The size of this file is limited to about 1 MB.

[2] hwc_error_log.txt: contains some early logs of ALOGE() from HWC.
The size of this file is limited to about 1 MB.

[3] {display_name}_hwc_debug0.dump - {display_name}_hwc_debug9.dump:
contain the debug dumps when there are some failures in HWC (e.g.
failures in validateDisplay() or presentDisplay()). HWC will only limit
up to first 10 debug dumps per display to be saved in separated files.

Bug: 230361290
Test: adb bugreport
Change-Id: I8621aeffd2bb7edb46314437d06338e0d0954b7c
2022-08-24 05:31:54 +00:00
TreeHugger Robot
a622aa4ceb Merge "Dumpstate: get fsck log" 2022-08-22 04:41:18 +00:00
Kyle Tso
852a50a151 Dumpstate: Correct max77759tcpc path
Bug: 242705378
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I1a8264528c74eb38ba47c37afe9a5cffdfda61aa
2022-08-17 00:47:30 +08:00
Jaegeuk Kim
2779a1b9b4 Dumpstate: get fsck log
Bug: 241641121
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Iaadb166fe9194518b2db75080cddc02526bdf2bb
2022-08-10 13:14:38 -07:00
Aaron Ding
66befd88e3 Create device Ripcurrent on Zuma platform
s/cloudripper/ripcurrent
s/gs201/zuma
s/pantah/ripcurrent

Bug: 229340586
Change-Id: Ic5dffbbfadbb1eb8479587b95222801426bba35e
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:55:56 +08:00
Aaron Ding
d88f9a90bd Branch zuma from gs201
Branch zuma from gs201 sha1 9009acf5c217f553b45ea82aa0702607229f0347

cp/pantah/ripcurrent
cp/gs201/zuma

Bug: 229340586
Change-Id: Ia312c20dae892ead9bf06728b4ef5c0c260ad045
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:45:55 +08:00