All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] rv: Expose and preserve nested monitor states
@ 2026-11-04  9:21 Wei Li
  2026-11-04  9:21 ` [PATCH 1/6] rv: Mark diverged child reactors with a star Wei Li
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Wei Li @ 2026-11-04  9:21 UTC (permalink / raw)
  To: Steven Rostedt, Gabriele Monaco, Jonathan Corbet, Shuah Khan,
	Randy Dunlap, Masami Hiramatsu, Mathieu Desnoyers, Nam Cao
  Cc: linux-trace-kernel, linux-doc, liwei391

From: Wei Li <liwei391@huawei.com>

A container groups nested monitors. The user could not see their
divergences: the reactors file did not show when a nested monitor
uses a different reactor, and the enable file reported only 0 or 1
even when just some nested monitors were on. Switching the reactor
of a container also re-enabled every nested monitor, including the
ones the user left off.

This series makes the states visible and the updates consistent:

- print a "*" next to the selected reactor of a diverged container
- show "X" in the enable file of a partially enabled container
- update the reactor with the monitor quiesced, so every monitor
  keeps its enabled state across the swap


Wei Li (6):
  rv: Mark diverged child reactors with a star
  rv: Update monitors through a quiesce helper
  rv: Show the mixed enable state of containers
  Documentation/rv: Document the enable and reactor states
  tools/rv: Parse the mixed enable state of containers
  rv: Do not send the trailing NUL to userspace

 .../trace/rv/runtime-verification.rst         |   6 +-
 include/linux/rv.h                            |  12 ++-
 kernel/trace/rv/rv.c                          | 101 ++++++++++++++++--
 kernel/trace/rv/rv.h                          |   2 +
 kernel/trace/rv/rv_reactors.c                 |  56 +++++-----
 tools/verification/rv/src/in_kernel.c         |  32 ++++--
 tools/verification/rv/tests/rv_list.t         |   2 +-
 7 files changed, 164 insertions(+), 47 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-11-04  9:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04  9:21 [PATCH 0/6] rv: Expose and preserve nested monitor states Wei Li
2026-11-04  9:21 ` [PATCH 1/6] rv: Mark diverged child reactors with a star Wei Li
2026-11-04  9:21 ` [PATCH 2/6] rv: Update monitors through a quiesce helper Wei Li
2026-11-04  9:32   ` sashiko-bot
2026-11-04  9:21 ` [PATCH 3/6] rv: Show the mixed enable state of containers Wei Li
2026-11-04  9:37   ` sashiko-bot
2026-11-04  9:21 ` [PATCH 4/6] Documentation/rv: Document the enable and reactor states Wei Li
2026-11-04  9:21 ` [PATCH 5/6] tools/rv: Parse the mixed enable state of containers Wei Li
2026-11-04  9:39   ` sashiko-bot
2026-11-04  9:21 ` [PATCH 6/6] rv: Do not send the trailing NUL to userspace Wei Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.