Re: [patch V4 14/15] genirq/proc: Runtime size the chip name

From: Dmitry Ilvokhin

Date: Tue Mar 31 2026 - 10:24:53 EST


On Tue, Mar 31, 2026 at 09:26:35AM +0200, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxx>
>
> The chip name column in the /proc/interrupt output is 8 characters and
> right aligned, which causes visual clutter due to the fixed length and the
> alignment. Many interrupt chips, e.g. PCI/MSI[X] have way longer names.
>
> Update the length when a chip is assigned to an interrupt and utilize this
> information for the output. Align it left so all chip names start at the
> begin of the column.
>
> Update the GDB script as well.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>

Reviewed-by: Dmitry Ilvokhin <d@xxxxxxxxxxxx>