Re: [PATCH v5 3/4] rv: collect per-edge dwell time for per-cpu DA/HA monitors
From: Gabriele Monaco
Date: Fri Nov 27 2026 - 09:41:07 EST
On Fri, 2026-11-27 at 15:13 +0100, Tobias Schaffner wrote:
> On 11/27/26 14:57, Gabriele Monaco wrote:
> > On Fri, 2026-11-27 at 12:36 +0100, Tobias Schaffner wrote:
> > > Hook the edge-stat facility into the DA/HA layer, so that any per-cpu
> > > automaton monitor also reports how long it lingers in each state.
> > >
> > > Account a transition as soon as its state change is committed. An HA
> > > constraint that rejects the transition can therefore reset the monitor
> > > without leaving an accounting window for nested events.
> > >
> > > Signed-off-by: Tobias Schaffner <tobias.schaffner@xxxxxxxxxxx>
> > > ---
> >
> > Looks good to me, thanks!
> > I'm taking the series.
>
> Thanks for all the support! I will continue with the missing bits for
> per_task and maybe also per-object and global monitors soon.
Great, thank you for the nice addition.
On the long run we may also want to have this integrated in the rv tool, perhaps
to do some filtering, aggregation, or pretty-printing.
One thing at a time though ;)
Cheers,
Gabriele