gs101: 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: I1e5cf8e27ccaca196fe7f208cccd8475ffca7647
Signed-off-by: Ziyi Cui <ziyic@google.com>
This commit is contained in:
Ziyi Cui 2023-01-24 23:54:10 +00:00
parent 662c9f5ea7
commit 607ea7aaa7

View file

@ -57,7 +57,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
UFS_ERR_PATH(auto_hibern8_err_count) UFS_ERR_PATH(auto_hibern8_err_count)
}, },
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once", .AmsRatePath = "/sys/devices/platform/audiometrics/ams_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",
},
}; };
const struct UeventListener::UeventPaths ueventPaths = { const struct UeventListener::UeventPaths ueventPaths = {