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>
This commit is contained in:
Ziyi Cui 2023-01-24 23:58:58 +00:00
parent eef744a52c
commit 1737cfc63d

View file

@ -68,7 +68,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
"/sys/devices/platform/100b0000.AUR/trip_counter",
},
.CCARatePath = "/sys/devices/platform/audiometrics/cca_rate_read_once",
.TempResidencyPath = "/sys/kernel/metrics/temp_residency/temp_residency_all/stats",
.TempResidencyPaths = {
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
"/sys/kernel/metrics/thermal/tr_by_group/spmic/stats",
},
.ResumeLatencyMetricsPath = "/sys/kernel/metrics/resume_latency/resume_latency_metrics",
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
.ModemPcieLinkStatsPath = "/sys/devices/platform/11920000.pcie/link_stats",