[PATCH v5 1/5] bug/kunit: Core support for suppressing warning backtraces

Peter Zijlstra peterz at infradead.org
Fri May 30 09:26:59 UTC 2025


On Mon, May 26, 2025 at 01:27:51PM +0000, Alessandro Carminati wrote:
> A helper function, `__kunit_is_suppressed_warning()`, is used to determine
> whether suppression applies. It is marked as `noinstr`, since some `WARN*()`
> sites reside in non-instrumentable sections. As it uses `strcmp`, a
> `noinstr` version of `strcmp` was introduced.

That just sounds all sorts of wrong.


More information about the dri-devel mailing list