[for-linus][PATCH 1/3] tracing/osnoise: Do not unregister events twice