Skip to content

libtracefs: Fixups to tracefs_cpu_stop()

Steven Rostedt linux-trace-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libtracefs: Have tracefs_cpu_stop() do nothing only with PERM_NONBLOCKsrc/tracefs-record.c+1 -10 replies
2/2libtracefs: Have tracefs_cpu_stop() always suggesting nudgingsrc/tracefs-record.c+2 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] libtracefs: Fixups to tracefs_cpu_stop()

From: "Steven Rostedt (Google)" <[email protected]>

Working on trace-cmd stream, there were some issues with stopping the recorders, as they were getting stuck in the read state. It appears that tracefs_cpu_stop() doesn't guarantee that the readers are awake. Until it can be straiten out, always tell the callers that there needs to be a nudge to the readers (ie. a signal).

Steven Rostedt (Google) (2):
libtracefs: Have tracefs_cpu_stop() do nothing only with PERM_NONBLOCK
libtracefs: Have tracefs_cpu_stop() always suggesting nudging

 src/tracefs-record.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
Signature · 1 line
2.35.1