mbox series

[0/5] Cleanups of tracecmd_output_ APIs

Message ID 20211202121949.43084-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Cleanups of tracecmd_output_ APIs | expand

Message

Tzvetomir Stoyanov (VMware) Dec. 2, 2021, 12:19 p.m. UTC
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(-)