Skip to content

Cleanups of tracecmd_output_ APIs

Tzvetomir Stoyanov (VMware) linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5trace-cmd library: Fix typo in tracecmd_output_set_msg()lib/trace-cmd/trace-output.c+1 -10 replies
2/5trace-cmd library: New API for creating an output trace handlelib/trace-cmd/include/private/trace-cmd-private.h lib/trace-cmd/trace-output.c tracecmd/trace-record.c +1 more+44 -310 replies
3/5trace-cmd library: Rename tracecmd_output_allocate()lib/trace-cmd/include/private/trace-cmd-private.h lib/trace-cmd/trace-output.c tracecmd/trace-record.c+6 -60 replies
4/5trace-cmd library: Remove APIs for create and init output handlelib/trace-cmd/include/private/trace-cmd-private.h lib/trace-cmd/trace-output.c tracecmd/trace-stream.c+2 -390 replies
5/5trace-cmd library: Make tracecmd_output_write_init staticlib/trace-cmd/include/private/trace-cmd-private.h lib/trace-cmd/trace-output.c+8 -90 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Cleanups of tracecmd_output_ APIs

Reduced the APIs for creating output handle to a trace file. Capsulated the logic for creating the file inside the library.

Tzvetomir Stoyanov (VMware) (5):
trace-cmd library: Fix typo in tracecmd_output_set_msg() trace-cmd library: New API for creating an output trace handle trace-cmd library: Rename tracecmd_output_allocate() trace-cmd library: Remove APIs for create and init output handle trace-cmd library: Make tracecmd_output_write_init static

 .../include/private/trace-cmd-private.h       |  6 +-
 lib/trace-cmd/trace-output.c                  | 86 ++++++++-----------
 tracecmd/trace-record.c                       | 14 ++-
 tracecmd/trace-restore.c                      | 16 ++--
 tracecmd/trace-stream.c                       |  3 +-
 5 files changed, 50 insertions(+), 75 deletions(-)
Signature · 1 line
2.33.1