perfetto
perfetto copied to clipboard
how to interpret IRQ Count/num_irq ?
Hi, I captured a pftrace. When loaded into UI, under System/IRQ Count, I see rows of num_irq displayed with counter numbers by time. Each row does not really match a CPU as far as I can see (each row has the same name : "num_irq" - no index or anything). How do I get the IRQ info about which IRQ or devices for a row, and/or which CPUs handling them?
Here are part of the cfg:
data_sources {
config {
name: "linux.sys_info"
target_buffer: 0
}
}
data_sources {
config {
name: "linux.sys_stats"
target_buffer: 0
sys_stats_config {
buddyinfo_period_ms : 1000
cpufreq_period_ms : 1000
devfreq_period_ms : 1000
diskstat_period_ms : 1000
gpufreq_period_ms : 1000
meminfo_period_ms : 1000
# psi_period_ms : 1000 it only reports total count no pct not much use
stat_period_ms : 1000
thermal_period_ms : 60000
vmstat_period_ms : 1000
}
}
}
Each counter is for a different irq id. The track names should have the id suffix but was missing it. I've sent https://github.com/google/perfetto/pull/2429 to fix this.
thx for the fix!