linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] trace-cmd: Fix trace-cmd stream
@ 2023-01-06 18:39 Steven Rostedt
  2023-01-06 18:39 ` [PATCH 01/10] trace-cmd library: Set recorder to nonblock when finished Steven Rostedt
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Steven Rostedt @ 2023-01-06 18:39 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Steven Rostedt (Google)

From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

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(-)

-- 
2.35.1


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

end of thread, other threads:[~2023-01-06 18:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-06 18:39 [PATCH 00/10] trace-cmd: Fix trace-cmd stream Steven Rostedt
2023-01-06 18:39 ` [PATCH 01/10] trace-cmd library: Set recorder to nonblock when finished Steven Rostedt
2023-01-06 18:39 ` [PATCH 02/10] trace-cmd stream: Do not block when stopping threads Steven Rostedt
2023-01-06 18:39 ` [PATCH 03/10] trace-cmd stream: Add a flush signal to kick the output Steven Rostedt
2023-01-06 18:39 ` [PATCH 04/10] trace-cmd stream: Do one last flush when finished Steven Rostedt
2023-01-06 18:39 ` [PATCH 05/10] trace-cmd library: Fix read_data() with error from tracefs_cpu_read() Steven Rostedt
2023-01-06 18:39 ` [PATCH 06/10] trace-cmd: Have trace_stream_read() use poll() Steven Rostedt
2023-01-06 18:39 ` [PATCH 07/10] trace-cmd stream: Set default sleep time to half a second Steven Rostedt
2023-01-06 18:39 ` [PATCH 08/10] trace-cmd library: Return the result of tracefs_cpu_stop() Steven Rostedt
2023-01-06 18:39 ` [PATCH 09/10] trace-cmd record: Set sleep_time to zero at end of recording Steven Rostedt
2023-01-06 18:39 ` [PATCH 10/10] trace-cmd record: Keep stopping the recording when finished Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).