Commit graph

24 commits

Author SHA1 Message Date
Spade Lee
3ed14a059f pixelstats: gs201: add all logbuffer paths
Bug: 335934710
Change-Id: I20c24578a1e6ed08ad27cd9f4d37a55338ee8f73
Signed-off-by: Spade Lee <spadelee@google.com>
2024-04-29 01:40:51 +00:00
Spade Lee
3d06665d25 pixelstats: gs201: add history validation path
Bug: 329174074
Signed-off-by: Spade Lee <spadelee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9a1ff5f8041e4532481a1f7c6c168965d813fc53)
Merged-In: I8830d4a7532d8900abdcf78ba7ab1c141b47c1b4
Change-Id: I8830d4a7532d8900abdcf78ba7ab1c141b47c1b4
2024-04-25 06:10:42 +00:00
Chungro Lee
0d11a6641d pixelstats: move learning/model load path to sysfs
Reporting learning(relaxation) and model loading once a day
 * learning and model loading path moved from uevent to
   sysfs collector.

Bug: 329124192
Signed-off-by: Chungro Lee <chungro@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5dc71cfae1304564ccb2861109e9e1451032f0e7)
Merged-In: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
2024-04-25 06:10:32 +00:00
Jenny Ho
85b26e93cc pixelstats: added multiple GMSR paths
support different project paths

Bug: 308364170
Change-Id: I065f8e844d13d1d6d36c36ef689ff6c34b3e3fa6
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-03-01 03:14:37 +00:00
Jenny Ho
5e9bc66da0 pixelstats: gs201: add Learning/Update/ModelLoad path
Upload more FG data to analyze its trends

Bug: 317827237
Change-Id: Id45bd9ad3cca67dfc614f9c0f00540b1119a17d0
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-02-27 04:06:14 +00:00
Poomarin Phloyphisut
2ae9b5a025 pixelstats: Fix access permission by adding total call count and update cca path sysfs
Related changes :
ag/24513108

Bug: 289857250
Test: Local test uploading atoms.
Change-Id: I584af796d03585ba3e27baeb8d006af2cab8c24d
2023-12-12 02:12:37 +00:00
George Lee
6c78c45aae pixelstats: Add brownout detection path
Bug: 307392882
Test: Local generate brownout for data upload
Change-Id: I06b846b9a0a9d8eb4edd5e1636248a44940f0683
Signed-off-by: George Lee <geolee@google.com>
2023-10-31 17:05:58 +00:00
Jenny Ho
d9437fa21f pixelstats: add gmsr path
Bug: 300590097
Change-Id: I585de78116d750fdea7e310c62ce91f98c0b9540
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-10-25 15:14:06 +08:00
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