libtracefs: Fixups to tracefs_cpu_stop()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libtracefs: Have tracefs_cpu_stop() do nothing only with PERM_NONBLOCKsrc/ | +1 | 0 replies | |
| 2/2 | libtracefs: Have tracefs_cpu_stop() always suggesting nudgingsrc/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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