trace-cmd: Fix trace-cmd stream
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | trace-cmd library: Set recorder to nonblock when finishedlib/ | +6 | 0 replies | |
| 2/10 | trace-cmd stream: Do not block when stopping threadstracecmd/ | +2 | 0 replies | |
| 3/10 | trace-cmd stream: Add a flush signal to kick the outputlib/ lib/ tracecmd/ | +43 | 0 replies | |
| 4/10 | trace-cmd stream: Do one last flush when finishedtracecmd/ | +3 | 0 replies | |
| 5/10 | trace-cmd library: Fix read_data() with error from tracefs_cpu_read()lib/ | +2 | 0 replies | |
| 6/10 | trace-cmd: Have trace_stream_read() use poll()tracecmd/ tracecmd/ tracecmd/ | +21 | 0 replies | |
| 7/10 | trace-cmd stream: Set default sleep time to half a secondtracecmd/ | +4 | 0 replies | |
| 8/10 | trace-cmd library: Return the result of tracefs_cpu_stop()lib/ lib/ | +7 | 0 replies | |
| 9/10 | trace-cmd record: Set sleep_time to zero at end of recordingtracecmd/ | +2 | 0 replies | |
| 10/10 | trace-cmd record: Keep stopping the recording when finishedtracecmd/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] trace-cmd: Fix trace-cmd stream
From: "Steven Rostedt (Google)" <[email protected]>
Looking at https://bugzilla.kernel.org/show_bug.cgi?id=216577 and analyzing the fix, I found a bunch of other issues with trace-cmd stream.
This series is to address them.
Steven Rostedt (Google) (10):
trace-cmd library: Set recorder to nonblock when finished trace-cmd stream: Do not block when stopping threads trace-cmd stream: Add a flush signal to kick the output trace-cmd stream: Do one last flush when finished trace-cmd library: Fix read_data() with error from tracefs_cpu_read()
trace-cmd: Have trace_stream_read() use poll()
trace-cmd stream: Set default sleep time to half a second trace-cmd library: Return the result of tracefs_cpu_stop() trace-cmd record: Set sleep_time to zero at end of recording trace-cmd record: Keep stopping the recording when finished
.../include/private/trace-cmd-private.h | 4 +- lib/trace-cmd/trace-recorder.c | 33 ++++++--- tracecmd/include/trace-local.h | 2 +- tracecmd/trace-record.c | 72 +++++++++++++++---- tracecmd/trace-stream.c | 34 ++++----- 5 files changed, 99 insertions(+), 46 deletions(-)
Signature · 1 line
2.35.1