Commit graph

16 commits

Author SHA1 Message Date
Ziyi Cui
e9dab393fc gs201: Add path reading for StormIRQ
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Change-Id: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-08-08 03:10:55 +00:00
sashwinbalaji
9ad2131f09 thermal: Update path reading for temperature residency metrics
Add temperature residency reset path
chown to system to reset from pixelstats

Bug: 193833982
Test: Local build and verify atom logs
Change-Id: I272b1f52243dcb91d4d6dd142c54edf533f6498c
2023-05-25 05:28:45 +00:00
Ziyi Cui
1737cfc63d gs201: Update path reading for temperature residency metrics
Bug: 260915419

Test: Verified the existence of atom

adb shell cmd stats print-stats | grep 105045

Change-Id: I9475be95b8223ee8fe62037e0e4898eedee6c5fe
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-02-07 02:05:39 +00:00
Doug Zobel
7e9ed22e6a pixelstats: Configure PCIe link stats pathnames
Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 264287533
Change-Id: If059347f847a857f66164926edfecd2a756f2339
Signed-off-by: Doug Zobel <zobel@google.com>
2023-01-24 02:05:32 +00:00
Denny cylee
7eef18c88a Pixelstats: wireless charging metrics phase out
Not set the wireless charging uevent struct field

Bug: 260974677
Test: no abnormal pixelstat logcat found
Change-Id: I61defe66fa0f9fd59c9061cf6b7296eceec6d4f9
Signed-off-by: Denny cylee <dennycylee@google.com>
2022-12-26 01:54:08 +00:00
Ziyi Cui
a67765d834 gs201: pixelstats: add pixel perf stats paths
Add pixel perf metrics paths in sysfs paths list

Bug: 232541623
Test: Tested resume latency metrics
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I7301e3ba53497906ad523dd9f02ccfe796b5c2de
2022-11-29 01:02:45 +00:00
Ziyi Cui
68cf879bb1 gs201: pixelstats: add pixel temperature residency stats paths
Add pixel temperature residency  metrics paths in sysfs paths list for gs201

Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: Ib0788756eb77490e257145bd90c9b8041149ede0
2022-11-24 00:11:30 +00:00
Roger Fang
9c967743a2 pixelstats: add cca_rate sysfs for VendorAudioHardwareStatsReported
Bug: 249225148
Test: manually test passed

Change-Id: I797016922e63f368a7e9944da619615b2034a4ce
Signed-off-by: Roger Fang <rogerfang@google.com>
2022-11-15 10:20:41 +00:00
George Lee
6ebf1dceb0 pixelstats: enable mitigation stats for gs201
Corresponding change to reflect changes that enable mitigation stats.

Bug: 253522156
Test: Local Test.
$> cmd stats print-logs
$> logcat | grep <atom id>
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia0ab4e6da0f908dbca8402db9d767577863035bd
2022-10-14 15:57:59 +00:00
Sayanna Chandula
dd651b1bfe pixelstats: add thermal stats paths
Add thermal metrics paths in sysfs paths list

Bug: 228247740
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ibcdef9a10dea7698cbb511015ea2835994ddbf89
2022-09-23 19:48:41 +00:00
Roger Fang
7447cd3664 pixelstats: add ams_rate sysfs for ATOM of VendorAudioHardwareStatsReported
Bug: 239508478
Test: manually test passed

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I94b57a757ec8c75ef62b5aa3c516002b905f6f15
2022-08-23 15:34:12 +00:00
Ocean Chen
f32db03343 Pixelstats: add block layer stats length
The block layer stats format is changing
time by time. This can pass the correct
length by project.

Bug: 219860725
Test: reboot and check log
Change-Id: Icf63dd5e80a820212beebe414a6ddc3a7f42dfa4
2022-06-13 23:24:58 +00:00
Denny cy Lee
f9c2f03287 Pixelstats: porting from p21
Bug: 222019890
Bug: 222657999
Test: check debug logcat in pixelstat, HardwareInfo
Change-Id: I110a2b2713b6c27e23418569bb8d1b726af07b95
2022-03-15 03:09:18 +00:00
Roger Fang
0d2cf52ae0 device: gs201: add speaker health stats
Add the sysfs that required by the new ATOM of VendorSpeakerStatsReported.
Copy the file sysfs from ag/15659556

Bug: 201250553
Test: Manually test with ATOM

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ic98d26ebb384e567f7016868777f951f00a0b27d
2021-09-27 15:21:37 +08:00
Ocean Chen
954b427911 Pixelstats: add more UFS error count paths
The UFS resume flow also increase the reset count.
It makes the reset count cannot represent the real
error count. So we use other count instead of reset count

Bug: 199459367
Test: run storage-qa pixel/022
Change-Id: I7eabf238bb0963af9430b47c9ffa92bb3ad3b6fc
2021-09-14 09:13:16 +00:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00