Re: [patch v2 04/14] x86/irq: Make irqstats array based

From: Thomas Gleixner

Date: Thu Mar 26 2026 - 06:33:24 EST


Florian!

On Wed, Mar 25 2026 at 15:54, Florian Fainelli wrote:
> On 3/25/26 15:52, Thomas Gleixner wrote:
>> Sigh, yes. This GDB python insanity is a pain, debugging it even more so.
>
> All matter of perspective but kudos to you for trying to fix it, that is
> much appreciated.

What bothers me most on the kernel side is that there is neither
annotation, which tells something is used in a gdb script, nor a compile
time check.

So if Radu hadn't noticed and pointed it out, I wouldn't have known
about it at all.

The insanity snark was just my annoyance about the python integration
into gdb. It's amazing that a debugger provides an extension interface
which is undebuggable. But admittedly it's at least consistent with the
rest of GDB's usability.

I know why I prefer the DBT (Debug By Thinking) debugger. :)

Thanks,

tglx