gs201: 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 Change-Id: Iae8f8de862c21e2b8e6b32618bc5971cbe98b1ca Signed-off-by: Ziyi Cui <ziyic@google.com>
This commit is contained in:
parent
94e5bab69e
commit
e9dab393fc
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
start vendor.pixelstats_vendor
|
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
|
service vendor.pixelstats_vendor /vendor/bin/pixelstats-vendor
|
||||||
class hal
|
class hal
|
||||||
user system
|
user system
|
||||||
|
|
|
@ -80,6 +80,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
},
|
},
|
||||||
.ResumeLatencyMetricsPath = "/sys/kernel/metrics/resume_latency/resume_latency_metrics",
|
.ResumeLatencyMetricsPath = "/sys/kernel/metrics/resume_latency/resume_latency_metrics",
|
||||||
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
|
.LongIRQMetricsPath = "/sys/kernel/metrics/irq/long_irq_metrics",
|
||||||
|
.StormIRQMetricsPath = "/sys/kernel/metrics/irq/storm_irq_metrics",
|
||||||
|
.IRQStatsResetPath = "/sys/kernel/metrics/irq/stats_reset",
|
||||||
.ModemPcieLinkStatsPath = "/sys/devices/platform/11920000.pcie/link_stats",
|
.ModemPcieLinkStatsPath = "/sys/devices/platform/11920000.pcie/link_stats",
|
||||||
.WifiPcieLinkStatsPath = "/sys/devices/platform/14520000.pcie/link_stats"
|
.WifiPcieLinkStatsPath = "/sys/devices/platform/14520000.pcie/link_stats"
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue