Re: [PATCH v2 04/14] tools/rv: Fix cleanup after failed trace setup

From: Nam Cao

Date: Mon May 18 2026 - 04:44:20 EST


Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:

> Currently if ikm_setup_trace_instance() fails, the tool returns without
> any cleanup, if rv was called with both -t and -r, this means the
> reactor is not going to be cleared.
>
> Jump to the cleanup label to restore the reactor if necessary.
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>

Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>