diff options
author | George Lee <geolee@google.com> | 2022-10-13 16:52:15 -0700 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-10-14 15:57:59 +0000 |
commit | 6ebf1dceb04738865d5b35a24425e25ebb2fa65c (patch) | |
tree | bffe1f9fffd38691507537a60c2f9723a785fd76 | |
parent | a089e44eb1cef0a2ec3bc04ef17f67173268eee6 (diff) | |
download | gs201-6ebf1dceb04738865d5b35a24425e25ebb2fa65c.tar.gz |
pixelstats: enable mitigation stats for gs201
Corresponding change to reflect changes that enable mitigation stats.
Bug: 253522156
Test: Local Test.
$> cmd stats print-logs
$> logcat | grep <atom id>
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia0ab4e6da0f908dbca8402db9d767577863035bd
-rw-r--r-- | pixelstats/service.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 83a4672..bd8b982 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -58,6 +58,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { }, .BlockStatsLength = BLOCK_STATS_LENGTH, .AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once", + .MitigationPath = "/sys/devices/virtual/pmic/mitigation", .ThermalStatsPaths = { "/sys/devices/platform/100a0000.BIG/trip_counter", "/sys/devices/platform/100a0000.MID/trip_counter", |