mbox series

[v2,0/5] trace-cmd: Improvements in compression logic

Message ID 20220304055658.440904-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series trace-cmd: Improvements in compression logic | expand

Message

Tzvetomir Stoyanov (VMware) March 4, 2022, 5:56 a.m. UTC
Improvements in internal comperssion APIs, suggested by
Sebastian Andrzej Siewior.

v2 changes:
 - Fixed crash in tracecmd_compress_destroy(), reported by Steven.

Tzvetomir Stoyanov (VMware) (5):
  trace-cmd: Use a structure to describe a compression protocol
  trace-cmd: Make internal compression hooks more generic
  trace-cmd: Use errno from zlib, if available
  trace-cmd: Add context to compression hooks
  trace-cmd: Use context hooks in zstd

 .../include/private/trace-cmd-private.h       |  20 ++--
 lib/trace-cmd/trace-compress-zlib.c           |  43 ++++----
 lib/trace-cmd/trace-compress-zstd.c           | 100 ++++++++++++------
 lib/trace-cmd/trace-compress.c                |  85 ++++++++-------
 4 files changed, 149 insertions(+), 99 deletions(-)