mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
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 atom logs Change-Id: I272b1f52243dcb91d4d6dd142c54edf533f6498c
This commit is contained in:
committed by
TreeHugger Robot
parent
b67c8e1423
commit
9ad2131f09
@@ -929,6 +929,9 @@ on post-fs-data
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/powerstats 0771 system system
|
||||
chown system system /data/vendor/powerstats
|
||||
# Thermal Residency Stats (write 1 to reset)
|
||||
chown system system /sys/kernel/metrics/thermal/tr_by_group/tmu/stats_reset
|
||||
chown system system /sys/kernel/metrics/thermal/tr_by_group/spmic/stats_reset
|
||||
|
||||
on property:vendor.brownout.mitigation.ready=1
|
||||
# BCL
|
||||
|
||||
@@ -68,9 +68,15 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||
"/sys/devices/platform/100b0000.AUR/trip_counter",
|
||||
},
|
||||
.CCARatePath = "/sys/devices/platform/audiometrics/cca_rate_read_once",
|
||||
.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"
|
||||
}
|
||||
},
|
||||
.ResumeLatencyMetricsPath = "/sys/kernel/metrics/resume_latency/resume_latency_metrics",
|
||||
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
|
||||
|
||||
Reference in New Issue
Block a user