Commit graph

79 commits

Author SHA1 Message Date
Kenny Root
8d12593f03 Merge "dumpstate: add GSA logs to bugreport" into udc-d1-dev 2023-05-22 05:14:11 +00:00
Prasanna Prapancham
0c772833b3 dumpstate: add ln8411 logbuffer into bugreport
Test: flash local build and collect bugreport
Bug: 277799048
Change-Id: I4847e5e4da50bba6da94ad379e5c4dd5542cb6f6
Signed-off-by: Prasanna Prapancham <prapancham@google.com>
(cherry picked from commit 68738d356f)
2023-05-17 22:50:47 +00:00
Kenny Root
3ba817ae3f dumpstate: add GSA logs to bugreport
Add support for reading the GSA logs sysfs file to see the GSA logs in
the bugreports we get from dogfooders.

(cherry picked from commit 09cb4227bb)

Bug: 271125313
Test: adb shell dumpstate
Change-Id: I09a2e039451b5eb8b7fa360ba03486bd871fb970
Merged-In: I09a2e039451b5eb8b7fa360ba03486bd871fb970
2023-05-17 17:35:32 +00:00
Adam Shih
e5ab3a8d71 Move pixel dumpstate to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ief9dc020bad3ab6a37c81161121f9424fd4ddff5
Merged-In: I70a1cd1a2a2b78b043f3c7fa8ff47f2fec75e078
(cherry picked from commit 72a8053cd6)
2023-03-27 17:49:52 +00:00
TreeHugger Robot
2dbc937331 Merge "Revert "Move pixel dumpstate to gs-common"" into udc-dev am: af2c222690
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/22215370

Change-Id: I9c3ef84f72b1bdbea9358bbc75688cc2fd8f65d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 08:07:37 +00:00
Wilson Sung
e41debd8d2 Revert "Move pixel dumpstate to gs-common"
Revert submission 22188471-dumpstate aidl

Reason for revert: Build break

Reverted changes: /q/submissionid:22188471-dumpstate+aidl
Bug: 274858145

Change-Id: I4fcd0ee39b9448e2b73bb0ab6891b2a5fcd6e566
2023-03-23 05:58:08 +00:00
Adam Shih
c48bcb124b Merge "Move pixel dumpstate to gs-common" into udc-dev am: eadbbdc576
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/22185167

Change-Id: Icee0c080238a8d881e0608c5f9f767ba3f5d3340
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 05:52:55 +00:00
Adam Shih
187ebac0b8 Move pixel dumpstate to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I70a1cd1a2a2b78b043f3c7fa8ff47f2fec75e078
Merged-In: I70a1cd1a2a2b78b043f3c7fa8ff47f2fec75e078
2023-03-22 05:06:42 +00:00
Adam Shih
8e8b2b953f Merge "Move the rest of radio dump to gs-common" into udc-dev am: 10cf71906f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21946981

Change-Id: I22771baad7321c118f765dc7605cb9c962e4a5bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 05:25:59 +00:00
Adam Shih
4d9decfa66 Move the rest of radio dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Iea19e317db3967d81d79a3be390e2e4c4c409978
2023-03-13 11:31:56 +08:00
Adam Shih
55d9b43b55 Merge "move modem operation to dump_modemlog" into udc-dev am: d8cd6941d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21794288

Change-Id: Iff621ebc806f93a190897a88b0d06c6f345daac9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 02:41:50 +00:00
Adam Shih
77b8d93f1f Merge "move ril dump to gs-common" into udc-dev am: 3d0464984f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21873544

Change-Id: Idfc7abece8659ab5dfaa9134a52e507b9e51908f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 05:44:21 +00:00
Adam Shih
ea136aebf3 Merge "remove dump text section" into udc-dev am: b90aaae77b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21806765

Change-Id: I5db57f6557f340e4fd0ae837f8ec267d2af779e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 05:29:16 +00:00
Adam Shih
433e216823 move modem operation to dump_modemlog
Bug: 240530709
Test: adb bugreport
Change-Id: I3de4df39db7ee07b13e47e313bdee42598db37ba
2023-03-09 13:15:11 +08:00
Adam Shih
3d0464984f Merge "move ril dump to gs-common" into udc-dev 2023-03-09 05:10:39 +00:00
Adam Shih
b90aaae77b Merge "remove dump text section" into udc-dev 2023-03-09 05:09:26 +00:00
Adam Shih
1ba64b984e move ril dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I2784ec3414ed503b032a2268acca4e39044556f3
2023-03-08 11:41:34 +08:00
Adam Shih
bdb4b8f669 remove dump text section
Bug: 269212897
Test: adb bugreport
Change-Id: I73d005268bd3964477a8af776362ec57f969cc0d
2023-03-07 10:54:07 +08:00
Adam Shih
dfbc066486 Merge "move camera dump to gs-common" into udc-dev am: 608ff36086
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21692922

Change-Id: I70bc6152428a9b054be3ef858f6479b5c0fd7413
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 00:04:42 +00:00
Adam Shih
608ff36086 Merge "move camera dump to gs-common" into udc-dev 2023-03-06 23:29:45 +00:00
Adam Shih
59e7623ba5 Merge "Move common display dump to gs-common" into udc-dev am: f122db3f24
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21644567

Change-Id: I789c9c5554c40c038d75261584b6ffed146e13c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 23:11:09 +00:00
Adam Shih
f122db3f24 Merge "Move common display dump to gs-common" into udc-dev 2023-03-06 22:27:50 +00:00
Adam Shih
94963243c4 Merge "Move modem dump log to gs-common" into udc-dev am: 5c2d07e775
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21692921

Change-Id: Ic5d577d1012491fe74a885ba6f63f75290c8bc1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 08:03:40 +00:00
Adam Shih
881ed63c9e Move common display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: Ib42ea1125b58b8a41da64b047238312b5f13bfbb
2023-03-06 06:33:30 +00:00
Adam Shih
5ed79e55dc move camera dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I9ffb7f1fd93462237e4610592d0589cedbc3d1ab
2023-03-02 15:09:16 +08:00
Adam Shih
e305d69c78 Move modem dump log to gs-common
Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin

Change-Id: I4994cdef97805aa54dbf54b218beea796a6b7969
2023-03-02 14:10:49 +08:00
Hiroshi Akiyama
589b17f683 Add logging for BCL IRQ durations to dumpstate
Bug: 269752322
Test: adb bugreport
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
Change-Id: I5a771ddf3f5da5b5c285a1e3217f6b3a62b8a0ff
Merged-In: Icd524bd32ed41c3de72f0e1b13428d76e871d203
2023-03-02 06:02:52 +00:00
Adam Shih
cb302d9794 move gxp dump to gs-common
ag/21644929 is where the operation lives in the future.
Bug: 240530709
Test: adb bugreport
Change-Id: I6e621228a1964ec0b83afe02cd0059c7ee361b20
2023-03-01 21:58:41 +00:00
Adam Shih
c4b1ded167 Merge "Move HWC dump to gs-common" into udc-dev 2023-02-24 03:17:38 +00:00
Adam Shih
04ca8b59c9 Move HWC dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: I454668d8df81069fdd78bf573a428f4adb8adc6b
2023-02-22 13:54:55 +08:00
Adam Shih
bd03995252 remove gps function from header file
Bug: 240530709
Test: adb bugreport
Change-Id: I1f3eb7d3f8fc08d089c3a1a236da44082b5fbd8d
2023-02-22 04:50:33 +00:00
Adam Shih
d6bd696649 make dumpLogSection compatible to new structure
Bug: 240530709
Test: adb bugreport
Change-Id: I731a7f59e327789018330c2ca7353105de1ddb8f
2023-02-21 11:07:42 +08:00
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