summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZiyi Cui <ziyic@google.com>2022-11-17 18:52:10 +0000
committerZiyi Cui <ziyic@google.com>2022-12-01 06:27:22 +0000
commit19f686ee479c3ce89b6cba5a18ab26fc1e7db86a (patch)
tree6689002a65e6cfac42dceaa48d4709084711e2fb
parent050a62c778ffe5d13526c13e320f5ccabfb0d4c0 (diff)
gs101: pixelstats: add pixel temperature residency stats paths
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>
-rw-r--r--pixelstats/service.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp
index a1fe772b..fd62a70b 100644
--- a/pixelstats/service.cpp
+++ b/pixelstats/service.cpp
@@ -55,6 +55,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
UFS_ERR_PATH(auto_hibern8_err_count)
},
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
+ .TempResidencyPath = "/sys/kernel/metrics/temp_residency/temp_residency_all/stats",
};
const struct UeventListener::UeventPaths ueventPaths = {