zumapro: Add path reading for StormIRQ

Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043

Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: I84f4c1fdf9564c5c2ddc85ff84e271d0e4a55b97
This commit is contained in:
Ziyi Cui 2023-12-19 16:47:16 -08:00
parent 033e0f615b
commit 02bf1ad57d
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,7 @@
on property:sys.boot_completed=1
start vendor.pixelstats_vendor
on post-fs-data
chown system system /sys/kernel/metrics/irq/stats_reset
service vendor.pixelstats_vendor /vendor/bin/pixelstats-vendor
class hal
user system

View file

@ -61,6 +61,8 @@ 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",
.StormIRQMetricsPath = "/sys/kernel/metrics/irq/storm_irq_metrics",
.IRQStatsResetPath = "/sys/kernel/metrics/irq/stats_reset",
.TempResidencyAndResetPaths = {
{
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",