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:
parent
033e0f615b
commit
02bf1ad57d
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
|
||||||
|
|
|
@ -61,6 +61,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
|
.AmsRatePath = "/sys/devices/platform/audiometrics/ams_rate_read_once",
|
||||||
.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",
|
||||||
.TempResidencyAndResetPaths = {
|
.TempResidencyAndResetPaths = {
|
||||||
{
|
{
|
||||||
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
|
"/sys/kernel/metrics/thermal/tr_by_group/tmu/stats",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue