Commit graph

23 commits

Author SHA1 Message Date
Adam Shih
c08f948ee3 Move power dump text section out of hal_dumpstate_default
Bug: 273380985
Test: adb bugreport
Change-Id: I5e104880d38c1a1b2dda4b48b0b3576b14a5ea8e
2023-03-29 03:01:36 +00:00
Adam Shih
a9207eff25 Move camera text dump to dump_gs101
Bug: 273380985
Test: adb bugreport
Change-Id: Ie82c87ba87d175cb861d36f7e4a94c0e730da0d2
2023-03-28 02:20:56 +00:00
Adam Shih
05082134e1 Move cma dump to itself
Bug: 273380985
Test: adb bugreport
Change-Id: I6732dd8dbbf0367f99e25b29f2a0dd526aaac9d4
2023-03-24 13:55:53 +08:00
Adam Shih
9df43666f0 use devfreq dump from gs-common
Bug: 273380985
Test: adb bugreport
Change-Id: I2d301fad03cbac0bc63ae6f522df31ab5c607118
2023-03-21 07:51:50 +00:00
Adam Shih
27657f1a1e allow modem to debug 5 seconds longer
Bug: 273638955
Bug: 273639036
Test: adb bugreport
Change-Id: I0c978577625397ba88958b31ae8ace6a6aabd9ab
2023-03-20 10:26:33 +08:00
Adam Shih
78bbc7d5f8 Move display dump to gs-common
Bug: 269212897
Test: adb bugreport
Change-Id: Idc38fd971b274ba4ef62e2347c92eef7fb13e20f
2023-03-07 12:57:48 +08:00
Adam Shih
1f747d3b75 Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I3ee10b08e4218f2e7cda7f741936bc647818c447
2023-02-14 07:22:05 +00:00
Adam Shih
a64bf67d97 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: Idd305ceb4786b5e66c2f1d8e2ae20ffd233bd088
2023-02-10 13:42:43 +08:00
Taylor Nelms
c50d6678f6 Modify dumpstate to point to decon_counters in sysfs rather than debugfs
Bug: 240346564
Test: Build for Oriole device with "user" build, check bug report for decon_counters content
Change-Id: I5ae08064c2c4106b9f54f7823f1e325a6d6978b5
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-21 01:41:36 +00:00
Adam Shih
989d016d98 move dump cpu to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I073a4c55053b8844b2702c9cd5d7a9e84840b66d
2022-12-14 00:41:12 +00:00
Wiwit Rifa'i
73e95ea084 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: I08fbc4faf5fea72cbbca007f43ccedd22d1e0aca
2022-12-13 05:09:22 +00:00
kierancyphus
a381b21dfc Dumpstate.cpp: 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: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-07 03:18:53 +00:00
Adam Shih
66379fde0e use touch dump from gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I224a2a194c9e37768e8a5c7e879da97964d97fbf
2022-11-29 04:47:15 +00:00
kierancyphus
fddf45d940 Include modem log mask history in dumpstate
Includes the file `LoggingMaskHistory.csv` when a bug report is triggered.

Bug: 241739027
Test: Trigger a bugreport with `adb bugreport` and check to make sure
the report contains the `LoggingMaskHistory` file. E.g. after
unzipping `cat <bugreport>.txt | grep -a 'LoggingMaskHistory'`.

Change-Id: Ibfa74194d13cb4dc5c3f2cf9f54ee81390a301a6
2022-11-25 03:58:45 +00:00
Adam Shih
34fc0761d3 remove raven touch dump
Bug: 256521567
Test: adb bugreport
Change-Id: I17b72b69b882fc670f780f7d480ae828d9f3c931
2022-11-16 07:42:22 +00:00
Adam Shih
e182c63bd6 move thermal dump to gs-common
Bug: 257880034
Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_thermal.sh
Change-Id: I6fa51c7662401a45defed776d69334fc42cee49e
2022-11-16 03:52:39 +00:00
Adam Shih
95e0d9bdb9 move sensors dump to gs-common
Bug: 250475720
Test: adb bugreport
Change-Id: I500bfba706b74a872d4ba07b9b58efaed015772e
2022-11-11 05:35:22 +00:00
Kevin Jeon
9257a5f2dc Add tracepoints to gs101 dumpstateBoard
This change adds tracepoints for the gs101 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: I8efea28278b4507a7e2a448c96281113331cbd02
2022-11-10 15:33:05 +00:00
Jenny Ho
d5d60ee813 Merge "[conflict] dumpstate: dump battery defend logbuffer am: 34e66966c7 am: e4fd1ce422" 2022-11-03 06:33:04 +00:00
Roger Wang
6665f0dcc7 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: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8
Signed-off-by: Roger Wang <wangroger@google.com>
2022-11-03 05:33:08 +00:00
Jenny Ho
90ad087288 [conflict] dumpstate: dump battery defend logbuffer am: 34e66966c7 am: e4fd1ce422
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20310168

Bug: 257151155
Change-Id: Ib5ebc52513667e163a8db7d5b36b7438e4c7b8cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 03:37:04 +00:00
Adam Shih
3c94afad75 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 07:22:56 +00:00
Adam Shih
0e57a35f5d upgrade dumpstate from hidl to aidl
Bug: 240530709
Test: adb bugreport
Change-Id: I0cd75fa84e495037a55284b43bd0ee53e5379d4c
2022-10-14 07:37:42 +00:00
Renamed from dumpstate/DumpstateDevice.cpp (Browse further)