From 68cf879bb1ce01eab66503e9d94bd7e9a9a77bf6 Mon Sep 17 00:00:00 2001 From: Ziyi Cui Date: Wed, 9 Nov 2022 16:05:52 -0800 Subject: [PATCH] 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 Change-Id: Ib0788756eb77490e257145bd90c9b8041149ede0 --- pixelstats/service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index bf9c4595..c2655749 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -68,6 +68,7 @@ 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", }; const struct UeventListener::UeventPaths ueventPaths = {