diff options
author | Poomarin Phloyphisut <poomarin@google.com> | 2023-10-06 03:11:22 +0000 |
---|---|---|
committer | Joey Poomarin Phloyphisut <poomarin@google.com> | 2023-12-12 02:12:37 +0000 |
commit | 2ae9b5a025b08fce2af5fecac1fd935cc6dbb1f3 (patch) | |
tree | 52c00e4db55ccf6318c273435bde09a2185f0e99 | |
parent | 75ebe9dcd37ce48e0059c956ec699f1f133f7ff7 (diff) | |
download | gs201-2ae9b5a025b08fce2af5fecac1fd935cc6dbb1f3.tar.gz |
pixelstats: Fix access permission by adding total call count and update cca path sysfs
Related changes :
ag/24513108
Bug: 289857250
Test: Local test uploading atoms.
Change-Id: I584af796d03585ba3e27baeb8d006af2cab8c24d
-rw-r--r-- | pixelstats/service.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 5d739b1..ab6f85f 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -71,7 +71,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { "/sys/devices/platform/100b0000.TPU/trip_counter", "/sys/devices/platform/100b0000.AUR/trip_counter", }, - .CCARatePath = "/sys/devices/platform/audiometrics/cca_rate_read_once", + .CCARatePath = "/sys/devices/platform/audiometrics/cca_count_read_once", .TempResidencyAndResetPaths = { { "/sys/kernel/metrics/thermal/tr_by_group/tmu/stats", @@ -88,7 +88,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { .IRQStatsResetPath = "/sys/kernel/metrics/irq/stats_reset", .ModemPcieLinkStatsPath = "/sys/devices/platform/11920000.pcie/link_stats", .WifiPcieLinkStatsPath = "/sys/devices/platform/14520000.pcie/link_stats", - .GMSRPath = "/sys/class/power_supply/maxfg/gmsr" + .GMSRPath = "/sys/class/power_supply/maxfg/gmsr", + .TotalCallCountPath = "/sys/devices/platform/audiometrics/call_count" }; const struct UeventListener::UeventPaths ueventPaths = { |