Re: [RFC PATCH v2 04/12] rv: Remove trailing whitespace from tracepoint string

From: Nam Cao
Date: Mon May 19 2025 - 04:05:33 EST


On Wed, May 14, 2025 at 10:43:06AM +0200, Gabriele Monaco wrote:
> RV event tracepoints print a line with the format:
> "event_xyz: S0 x event -> S1 "
> "event_xyz: S1 x event -> S0 (final)"
>
> While printing an event leading to a non-final state, the line
> has a trailing white space (visible above before the closing ").
>
> Adapt the format string not to print the trailing whitespace if we are
> not printing "(final)".
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>

Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>