thermal: enable thermal dfs stats

Add trip counter path to monitor dfs count.

Bug: 333368025
Test: Local build and verify logs
Change-Id: I6d83e88c715b2e212ccc8c21f72a2b7a71f8c43b
This commit is contained in:
sashwinbalaji 2024-04-19 03:14:19 +08:00
parent 2e8e8d0105
commit 402880058c

View file

@ -64,6 +64,14 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
.StormIRQMetricsPath = "/sys/kernel/metrics/irq/storm_irq_metrics",
.IRQStatsResetPath = "/sys/kernel/metrics/irq/stats_reset",
.ThermalStatsPaths = {
"/sys/devices/platform/100a0000.BIG/trip_counter",
"/sys/devices/platform/100a0000.MID/trip_counter",
"/sys/devices/platform/100a0000.LITTLE/trip_counter",
"/sys/devices/platform/100b0000.G3D/trip_counter",
"/sys/devices/platform/100b0000.TPU/trip_counter",
"/sys/devices/platform/100b0000.AUR/trip_counter",
},
.TempResidencyAndResetPaths = {
{
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",