Adam Shih
2f82d55e05
extract misc section from dumpstate
...
Bug: 240530709
Test: adb bugreport
Change-Id: I938cd3f012fcb400185772f5760c0fd280cb2a08
2023-02-10 13:40:55 +08:00
Jack Wu
c49d350dee
dumpstate: add battery eeprom in bugreport am: e28746e3f1
am: a0c8de3597
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21027679
Change-Id: Id7952997e7ec906fa5206f67335840660c11ba55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 09:14:27 +00:00
Jack Wu
e28746e3f1
dumpstate: add battery eeprom in bugreport
...
Bug: 265889611
Test: adb bugreport
Change-Id: I604834cdae4a3352db20301128d61059c71f0fb2
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-18 08:17:23 +00:00
Wasb Liu
48676580c3
dumpstate: dump dual batt logbuffer am: 08a7fc6c70
am: ddb529fff8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20806353
Change-Id: I61b2c69c8dcf19cb0bb43b9a8ca5298a13a0325c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 06:00:50 +00:00
Wasb Liu
08a7fc6c70
dumpstate: dump dual batt logbuffer
...
Add logbuffer_dual_batt to dumpstate.
Also fix some dual batt related dump pathes.
Bug: 263496320
Test: build pass, no related permission errors.
Change-Id: Ibfd3dfc18acc049052f07246c8d85ae04b4f95f5
Signed-off-by: Wasb Liu <wasbliu@google.com>
2023-01-17 04:52:50 +00:00
Alex Hong
6ffe1e16e7
Fix the index out of bounds error when the modem FD is missing am: d6f061f45a
am: f918ea1dc9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20877560
Change-Id: I41ffa93760dde5fe4bde4dfb3655eaaf2f6f5f51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 07:44:58 +00:00
Alex Hong
d6f061f45a
Fix the index out of bounds error when the modem FD is missing
...
Bug: 263783650
Test: atest VtsHalDumpstateTargetTest pass
Change-Id: I3795244e111bbf18b1a2a2a27a93242b4015baa7
2023-01-09 21:34:14 +08:00
Super Liu
33673ae71f
[DO NOT MERGE] Support gti proc dump.
...
Bug: 262796907
Test: TreeHugger build pass.
Change-Id: I84f68070b50272d4beeaa6178011584fc3a38a9f
2022-12-23 06:56:00 +00:00
Taylor Nelms
b8248d3ec4
Modify dumpstate to point to counters in sysfs rather than debugfs
...
Bug: 240346564
Test: Build for Cheetah device with user build, check bugreport for decon_counters content
Change-Id: I0026378d81f5de5ac48b658861a2d8a85c817820
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-21 01:41:36 +00:00
Adam Shih
3df17f30b3
move dump cpu to gs-common
...
Bug: 240530709
Test: adb bugreport
Change-Id: I05d533c8a4ccb085e9ffbfa53b0262ae38461b9b
2022-12-14 00:41:12 +00:00
Mason Wang
a6120d0625
Dumpstate: Add golden mutual raw data for FST2 touch. [DO NOT MERGE]
...
Bug: 254201934
Test: The BR has the data of "Golden Mutual Raw Data.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I017462d0cd6f2ed3032f0f775d078ef3f5790193
2022-12-13 23:52:03 +00:00
Wiwit Rifa'i
63c4c328b1
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: I8a7877095db9e9388c28f16644692e71c94a4a5b
2022-12-13 05:09:22 +00:00
kierancyphus
ebeab15ad7
Dumpstate: use new history dir and inc more files
...
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).
Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included
Change-Id: Id87f381a4895399a035ea4fe55d132e31d5d796c
Merged-In: Id87f381a4895399a035ea4fe55d132e31d5d796c
2022-12-07 06:55:42 +00:00
kierancyphus
bffe8fccb9
Dumpstate: use new history dir and inc more files
...
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).
Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included
Change-Id: Id87f381a4895399a035ea4fe55d132e31d5d796c
2022-12-07 03:18:53 +00:00
Ziyi Cui
ead189b0f8
[DO NOT MERGE] gs201:dumpstate: Dump long irq metrics, resume latency metrics at bugreport
...
At the bugreport, capture long irq metrics and resume latency metrics
Bug: 227809911
Bug: 232541623
Test: "adb bugreport" includes metrics capture.
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I8dc3330da3b9274be24534b52db86f0b3d01a482
2022-12-01 06:31:01 +00:00
Ziyi Cui
78f9096a34
[DO NOT MERGE] dumpstate: Dump Temperature Residency at bugreport
...
At the bugreport, capture Temperature Residency metrics
Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Signed-off-by: Ziyi Cui <ziyic@google.com>
Merged-In: I49ffdcadce89e3dc8859819576998df56928a75a
Change-Id: I360b7d26c94556f43945a0c3c0e942fb0c48fa5d
2022-12-01 06:27:22 +00:00
Mason Wang
758d4f22fe
Dumpstate: Filter not used dumps of touch node. [DO NOT MERGE]
...
Bug: 226475119
Test: Dumps of outer panel is in bugreport.
Change-Id: I1e6e59e1709715306671df9536685d9b3a9e34d6
2022-11-30 23:04:01 +00:00
Adam Shih
5382b6adb3
move touch dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: Ic13dc189eccd1a5f4f204326b1e93303b9492f69
2022-11-29 04:47:15 +00:00
Mason Wang
0cdf324421
Dumpstate: Avoid to dumps on invalid file node [DO NOT MERGE]
...
Bug: 226475119
Test: Verify pass by touch dump data in bugreport.
Change-Id: I9088ca44a9111ae36462f340da57dfe27d4b86ec
2022-11-28 11:51:37 +08:00
Kieran Cyphus
a7abfe801b
Dumpstate: include LoggingMaskHistory.csv
on bugreport am: fef314ea8a
am: be98ee5556
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20335689
Change-Id: I5755190c4644be3b321fcbde163e11f1d0b2293e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-25 02:47:26 +00:00
Kieran Cyphus
fef314ea8a
Dumpstate: include LoggingMaskHistory.csv
on bugreport
...
Bug: 241739027
Test: trigger bugreport with `adb bugreport` and inspect the
logs to to make sure it is copying over LoggingMaskHistory and
including it in the tar file at the end.
Change-Id: I93ad2655193c57a0782c1535dc1cde3d0db1aeec
2022-11-23 07:27:30 +00:00
Adam Shih
4b1a772fa3
use gs-common thermal dump
...
Bug: 257880034
Test: adb bugreport
Change-Id: Ie4855d54999266b4a33b80b2e44f5f956438b99c
2022-11-23 14:35:57 +08:00
Adam Shih
76ce23c5d2
move gti0 dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I17aeb8cf5065a24cbacea73b65e0bc53aa0c498d
2022-11-23 05:30:53 +00:00
Adam Shih
3303ba1a10
remove panther touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: If56e6edad81ac16f8570d40668e6b1d6579c8cb6
2022-11-21 02:45:42 +00:00
Adam Shih
96e1ee4f25
move cheetah touch dump to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I87f223d78b64bd69a092299fe41c96820e5ce446
2022-11-17 10:34:23 +08:00
Adam Shih
eed4e34113
remove raven touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: If7d45e4bb4c78101bf5221ee858cbea15ba6327d
2022-11-16 07:42:22 +00:00
Minchan Kim
b5ae9d29fa
dumpstate: Dump pixel specific trace events at bugreport am: 31883f3edc
am: a206af9907
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20413970
Change-Id: Ibfa19e668a916893915ef96073d23d317ed8726c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-14 19:52:49 +00:00
Minchan Kim
31883f3edc
dumpstate: Dump pixel specific trace events at bugreport
...
At the bugreport, capture pixel tracee vents. It's useful to know
what happened in kernel side at that time.
Test: "adb bugreport" includes the pixel trace dump.
Bug: 238728493
Change-Id: I43a0b0bc51fc9aae7149e461761b798da9fce5e8
Signed-off-by: Minchan Kim <minchan@google.com>
2022-11-14 19:00:39 +00:00
Kevin Jeon
2381ca7f30
Add tracepoints to gs201 dumpstateBoard
...
This change adds tracepoints for the gs201 implementation of
dumpstateBoard. This is intended to help identify long-running sections.
Test: Build+flash, check that traces of 'adb bugreportz' show the
expected trace sections.
Bug: 258228821
Change-Id: Ia8f64f63609533eaaec1e78a93c1f67947d82466
2022-11-10 15:32:59 +00:00
Adam Shih
b4ee8b12eb
move sensors dump to gs-common
...
Bug: 250475720
Test: adb bugreport
Change-Id: Ica2a782fd59706eac5985ff8b534d0ba223e93c4
2022-11-10 05:20:48 +00:00
Star Chang
fbc2d10e23
Add TWT statistic logs to dumpstate for bugreport. am: d9c9199c83
am: 23775cefc4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19999827
Change-Id: If54de7f3eda032b07a778b39c414953cc1e26726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 02:57:02 +00:00
Star Chang
d9c9199c83
Add TWT statistic logs to dumpstate for bugreport.
...
Bug: 253348062
Test: dump bugreport ok
Change-Id: I2a1edafa78113e4f48d22244151c3a1500fe7f71
Signed-off-by: Star Chang <starchang@google.com>
2022-11-04 01:31:19 +00:00
Adam Shih
d59bc448e2
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 06:52:00 +00:00
Roger Wang
84df6c987f
wifi: remove unnecessary debug dump am: 712cb29b4d
am: bc9504dc3a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20335688
Change-Id: Iae9c0527ee3377d54eca87e333d58746c5067cd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 16:07:15 +00:00
Roger Wang
712cb29b4d
wifi: remove unnecessary debug dump
...
Since design was adjusted, we are no longer need
to cat dump_start when bugreport be triggered.
Bug: 256746618
Test: Trigger bugreport and check debug files.
Change-Id: I1c381a1e0a9bd0611b804c3dd9364eb48e8d4e49
Signed-off-by: Roger Wang <wangroger@google.com>
2022-11-01 15:04:14 +00:00
Jenny Ho
5855013653
dumpstate: dump battery defend logbuffer am: 70c85f31ab
am: 018f4cfbb5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20084561
Change-Id: If14d9641aadb46def3a5a3322a7acc8c2d953d38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 06:54:26 +00:00
Jenny Ho
70c85f31ab
dumpstate: dump battery defend logbuffer
...
Bug: 242679204
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I6c3a94a3cab77f9baa49ab8b5f2536e0a1275c7f
2022-11-01 05:34:11 +00:00
Adam Shih
56ea3ea8ee
move aoc dump to gs-common
...
Bug: 248426917
Test: adb bugreport
Change-Id: Ib387f304c062d19e181e771e5432bf9493c504bc
2022-10-14 00:38:24 +00:00
Adam Shih
01f4dc4226
move modem dump to gs-common
...
Bug: 250475732
Test: adb bugreport
Change-Id: I4b3e1ab273abe0f8cc46cc976cf6e765ff737d2d
2022-10-07 06:37:30 +00:00
Adam Shih
aef8ff1346
move soc dump to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: I5b3aec31a80cf68793c73ecf19ae5b953e54c96f
2022-10-04 13:19:17 +08:00
Adam Shih
3c8b537bc9
move ramdump relate dumpstate to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: I6fb17e87d1acf43421e7aca5ccdc1c1c6e03f022
2022-10-04 04:59:49 +00:00
Adam Shih
8a0f7e41ad
move trusty dump from gs201 to gs-common
...
Bug: 244504232
Test: adb bugreport
Change-Id: I7d92225a02c64a8e7371ba7c25e7ea38e99b1d1a
2022-10-03 09:23:14 +08:00
Adam Shih
e9dd5f3ee6
move UFS dump to gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: I5574e3629d6ce7196e332ab80de4206669d8094f
2022-09-29 01:07:43 +00:00
Adam Shih
5db064cc4c
dump f2fs in gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: I25d95dcfc8ea906e7064c966be05cc98acc29819
2022-09-27 03:06:43 +00:00
Adam Shih
02c91097f8
allow dumpstate to execute files under vendor/bin/dump
...
Bug: 240530709
Test: adb bugreport has the same result
Change-Id: I76a82ef6402d6bfb53d21d63c354d934ffb06c57
2022-09-16 03:55:45 +00:00
Chungjui Fan
badae905c9
Dump the sys node of LED am: 9fe1f4be94
am: fc52205595
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19895567
Change-Id: I8639fa0724a9105a2baa2d0eba71b857092a1130
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 04:03:34 +00:00
Chungjui Fan
9fe1f4be94
Dump the sys node of LED
...
Bug: 242300919
Change-Id: I04a2cc7cdb80b1d08c5884c26f9edb6782772810
2022-09-14 02:59:20 +00:00
JJ Lee
74a13e265b
dumpstate: Add aoc memory vote dump am: 5d912313d7
am: ba7eeb1928
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19505323
Change-Id: I04fa82ac22bb442789cbc077880929e42a8f300b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 05:32:24 +00:00
JJ Lee
5d912313d7
dumpstate: Add aoc memory vote dump
...
Bug: 223674292
Test: Boot test, taking bugreport is not blocked
Change-Id: I514d04de5808e22e3927f9534a5b710b7abc045d
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-07 14:25:06 +00:00
Robb Glasser
23172f8481
Dump usf stats history in bugreports. am: 21ffd5f188
am: 3a658f4b3d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19672424
Change-Id: I677366e590cf9eff53ab085bdc5a3849ab5f0152
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 04:06:33 +00:00