]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Add an NMI column
authorLen Brown <len.brown@intel.com>
Tue, 17 Dec 2024 23:00:31 +0000 (18:00 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 14 Jan 2025 19:50:53 +0000 (13:50 -0600)
commit22a835282b6240f38097f479ae2194bbeb0181e4
tree2983fa0c2a698ca47f34fe00397c49b0721697a6
parent05c14d8fd71b9c19391d0b4d65b1c1764e1c440f
tools/power turbostat: Add an NMI column

Add an NMI column, a proper sub-set of the IRQ column.

It would be preferable if the kernel exported
/sys/kernel/irq/NMI/per_cpu_count.

But since we are already forced to parse /proc/interrupts,
noticing which row is the NMI is simple enough.

Suggested-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c