Thread (21 messages) 21 messages, 8 authors, 2020-08-13

Re: [RFC PATCH 6/7] core/metricfs: expose x86-specific irq information through metricfs

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2020-08-13 14:10:33
Also in: kvm, linux-fsdevel, lkml

On 13/08/20 14:13, Thomas Gleixner wrote:
quoted
quoted
quoted
Add metricfs support for displaying percpu irq counters for x86.
The top directory is /sys/kernel/debug/metricfs/irq_x86.
Then there is a subdirectory for each x86-specific irq counter.
For example:

   cat /sys/kernel/debug/metricfs/irq_x86/TLB/values
What is 'TLB'? I'm not aware of any vector which is named TLB.
There's a "TLB" entry in /proc/interrupts.
It's TLB shootdowns and not TLB.
Yes but it's using the shortcut name on the left of the table.
+METRICFS_ITEM(LOC, apic_timer_irqs, "Local timer interrupts");
+METRICFS_ITEM(SPU, irq_spurious_count, "Spurious interrupts");
+METRICFS_ITEM(PMI, apic_perf_irqs, "Performance monitoring interrupts");
+METRICFS_ITEM(IWI, apic_irq_work_irqs, "IRQ work interrupts");
+METRICFS_ITEM(RTR, icr_read_retry_count, "APIC ICR read retries");
+#endif
+METRICFS_ITEM(PLT, x86_platform_ipis, "Platform interrupts");
+#ifdef CONFIG_SMP
+METRICFS_ITEM(RES, irq_resched_count, "Rescheduling interrupts");
+METRICFS_ITEM(CAL, irq_call_count, "Function call interrupts");
+METRICFS_ITEM(TLB, irq_tlb_count, "TLB shootdowns");
Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help