Re: [PATCH v2 2/5] timer_migration: Improve tracing

From: Frederic Weisbecker
Date: Mon Jun 24 2024 - 16:37:29 EST


Le Mon, Jun 24, 2024 at 04:53:54PM +0200, Anna-Maria Behnsen a écrit :
> Trace points of inactive and active propagation are located at the end of
> the related functions. The interesting information of those trace points is
> the updated group state. When trace points are not located directly at the
> place where group state changed, order of trace points in traces could be
> confusing.
>
> Move inactive and active propagation trace points directly after update of
> group state values.
>
> This change is also a preparation to be able to split out update of group
> state information easily into a separate function. Which in turn is
> required to fix a possible race in setup code.
>
> Fixes: 7ee988770326 ("timers: Implement the hierarchical pull model")
> Signed-off-by: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>