diff options
| author | Gabriele Monaco <gmonaco@redhat.com> | 2026-05-14 17:20:45 +0200 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2026-06-04 16:44:25 +0200 |
| commit | 33ec2269a4155cad7e9e42c92327dcaa9aee59a7 (patch) | |
| tree | 44464de169d4ad679c7b34bc80c4f0edc54d4925 /scripts/package/gen-diff-patch | |
| parent | ba0247c5aa3fcb2890a92a97a88c70fe5ce704a6 (diff) | |
tools/rv: Fix cleanup after failed trace setup
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.
Fixes: 6d60f89691fc9 ("tools/rv: Add in-kernel monitor interface")
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260514152055.229162-5-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'scripts/package/gen-diff-patch')
0 files changed, 0 insertions, 0 deletions
