[LTP] [PATCH] irq: informative TINFO for irqbalance01 result

Cyril Hrubis chrubis@suse.cz
Fri May 30 13:29:24 CEST 2025


Hi!
> +	tst_res(TFAIL,
> +		"IRQ balancing has not been detected. It might be that:\n"
> +		"- balancing service is not running\n"
> +		"- balancing service is running but rules didn't change\n"
> +		"- balancing rules have been changed, but CPUs didn't perform any interrupt");

This looks like an abuse of the tst_res() interface. I would have kept
the TFAIL message as it was and added the hints with tst_printf(), which
is used in the test to print debug information anyways.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list