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
This commit is contained in:
Poomarin Phloyphisut 2023-10-06 03:11:22 +00:00 committed by Joey Poomarin Phloyphisut
parent 75ebe9dcd3
commit 2ae9b5a025

View file

@ -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 = {