Re: [patch V6 05/16] x86/irq: Suppress unlikely interrupt stats by default

From: Thomas Gleixner

Date: Thu May 21 2026 - 16:46:55 EST


On Thu, May 21 2026 at 21:22, Shrikanth Hegde wrote:
> On 5/18/26 1:31 AM, Thomas Gleixner wrote:
>> for (unsigned int i = 0; i < ARRAY_SIZE(irq_stat_info); i++, info++) {
>> - if (info->skip_vector)
>> + if (!test_bit(i, irq_stat_count_show))
>> continue;
>
> If this is done, then those lines will be absent in /proc/interrupts right?
>
> If there was a tool expecting these entries, it will fail get to see that entry.
> Is that ok?

I checked the obvious tools and they don't care. They have no
expectations of what's there as that varies due to Kconfig settings,
architectures etc.

Thanks,

tglx