Update the i2c bus numbers to use the statically assigned numbers
configured in the kernel device tree. In addition, use ueventd to set
the ACL for the i2c devices.
Bug: 291606723
Test: performance boot testing
Test: verify selinux labelling with ls -Z on the modified device nodes
Change-Id: Ib412510e4b6c086c978ad5487486323685732cae
Update the i2c bus numbers to use the statically assigned numbers
configured in the kernel device tree. In addition, use ueventd to set
the ACL for the i2c devices.
Bug: 291606723
Test: performance boot testing
Test: verify selinux labelling with ls -Z on the modified device nodes
Change-Id: I579143fa38bc2e9b3bf7dc618b10e63001263e2e
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: Ifaaeb635a62bfa189ee5440778f72087658a4614
Signed-off-by: Minchan Kim <minchan@google.com>
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
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
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
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
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>
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: If2158a326faef96c0e0cd4e93a17ec420409bf1e
USF saves a stat buffer to the filesystem periodically. Dump this as
part of bugreports.
Bug: 242320914
Test: Stats are visible in a bugreport.
Change-Id: If609d76b224228061021fdc1463b6e8dfb6170ca