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: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Signed-off-by: Ziyi Cui <ziyic@google.com>
Add temperature residency reset path
chown to system to reset from pixelstats
Bug: 193833982
Test: Local build and verify statsD logs
adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045
Change-Id: Id73badfb8f8ff97a1a75b0544d3e1457ad0e2f84
Bug: 260915419
Test: Verified the existence of atom
adb shell cmd stats print-stats | grep 105045
Change-Id: I1e5cf8e27ccaca196fe7f208cccd8475ffca7647
Signed-off-by: Ziyi Cui <ziyic@google.com>
Not set the wireless charging uevent struct field
Bug: 260974677
Test: no abnormal pixelstat logcat found
Change-Id: I66f6f4993534bd3a981e302f82e157eee1ca0b91
Signed-off-by: Denny cylee <dennycylee@google.com>
Add pixel temperature residency metrics paths in sysfs paths list for gs101
Bug: 246799997
Test: Verified the existence of atom and correctness of atom stats
Change-Id: I7fbf563aa3da258f72ddac2e4383af732de1c6d8
Signed-off-by: Ziyi Cui <ziyic@google.com>
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: I760cf211e87fe7cc6069a2379193e61cf323ebb3
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: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Signed-off-by: Ocean Chen <oceanchen@google.com>
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: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Merged-In: I853bd5da410b78a0f9a76beee2e4745f68ddba59
Signed-off-by: Ocean Chen <oceanchen@google.com>
Add the sysfs that required by the new ATOM of VendorSpeakerStatsReported.
Bug: 175736081
Test: Manually test with ATOM
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I61a47ff963d7c9ed75d9c636b171c791f7ae7c38
Wireless ptmc uevent is not supported,
replace it with reading file node
Bug: 171853251
Test: manually, do wirelees charge, check logcat
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I8d4bbff09826fb76b0bce4321e9b5081a1487435
Bug: 171947164
Test: manually, no read fail found
Change-Id: I35bbca1aec39e6fb6133386b96efd727a9f74099
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Sometimes the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system
Otherwise, pixelstats cannot write these two sysnode
Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
Merged-In: I35625b94540baf637db07db3147839a79536378c
Sometims the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system
Otherwise, pixelstats cannot write these two sysnode
Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
We would like to collect stime of kswapd0 and kcompactd0.
readproc is required to access /proc/<pid>
Bug: 173101018
Test: build pass
Test: adb shell cmd stats print-logs
adb logcat | grep 105014
stime can be collected.
Change-Id: I8594f9e75a998718735503bbd5f2f5086a25c365