pixelstats: added multiple GMSR paths

support different project paths

Bug: 308364170
Change-Id: If9ca66c311822ab11b9236d45f3da51ce4b83e5e
Signed-off-by: Jenny Ho <hsiufangho@google.com>
This commit is contained in:
Jenny Ho 2024-02-21 20:14:57 +08:00
parent aaf203536c
commit 354c085d6c

View file

@ -76,7 +76,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
}, },
.ModemPcieLinkStatsPath = "/sys/devices/platform/12100000.pcie/link_stats", .ModemPcieLinkStatsPath = "/sys/devices/platform/12100000.pcie/link_stats",
.WifiPcieLinkStatsPath = "/sys/devices/platform/13120000.pcie/link_stats", .WifiPcieLinkStatsPath = "/sys/devices/platform/13120000.pcie/link_stats",
.GMSRPath = "/sys/class/power_supply/max77779fg/gmsr", .GMSRPath = {
"/sys/class/power_supply/max77779fg/gmsr",
"/sys/class/power_supply/maxfg_base/gmsr",
},
.PDMStatePath = "/sys/devices/platform/audiometrics/pdm_state", .PDMStatePath = "/sys/devices/platform/audiometrics/pdm_state",
.WavesPath = "/sys/devices/platform/audiometrics/waves", .WavesPath = "/sys/devices/platform/audiometrics/waves",
.AdaptedInfoCountPath = "/sys/devices/platform/audiometrics/adapted_info_active_count", .AdaptedInfoCountPath = "/sys/devices/platform/audiometrics/adapted_info_active_count",