thermal: Update path reading for temperature residency metrics
Add temperature residency reset path chown to system to reset from pixelstats Bug: 193833982 Test: Local build and verify statsD logs adb shell cmd stats print-logs && adb logcat -b all | grep -i 105045 Change-Id: Iec5956f803cab3893aaf9c1e9d818fc02c582f31
This commit is contained in:
parent
af7f2be4aa
commit
f9f8c56276
2 changed files with 10 additions and 1 deletions
|
@ -61,9 +61,15 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
|||
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
|
||||
.ResumeLatencyMetricsPath = "/sys/kernel/metrics/resume_latency/resume_latency_metrics",
|
||||
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
|
||||
.TempResidencyPaths = {
|
||||
.TempResidencyAndResetPaths = {
|
||||
{
|
||||
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
|
||||
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats_reset"
|
||||
},
|
||||
{
|
||||
"/sys/kernel/metrics/thermal/tr_by_group/spmic/stats",
|
||||
"/sys/kernel/metrics/thermal/tr_by_group/spmic/stats_reset"
|
||||
}
|
||||
},
|
||||
.ModemPcieLinkStatsPath = "/sys/devices/platform/12100000.pcie/link_stats",
|
||||
.WifiPcieLinkStatsPath = "/sys/devices/platform/13120000.pcie/link_stats"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue