Re: [PATCH v3 11/17] rv: Prevent unintentional tracepoints during KUnit tests

From: Nam Cao

Date: Tue Jul 07 2026 - 03:08:59 EST


Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> Monitor initialisation also called during KUnit tests may register some
> tracepoints, this can lead to issues since we don't expect real monitor
> events running during KUnit tests.
>
> Prevent tracepoint registration if an RV KUnit test is running.
>
> Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>

Somehow I have no recollection of seeing this patch.

But since we already hold rv_interface_lock during the test, is this
really necessary?

Nam