mbox series

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

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

Message

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

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           |  41 ++++---
 lib/trace-cmd/trace-compress-zstd.c           | 100 ++++++++++++------
 lib/trace-cmd/trace-compress.c                |  80 +++++++-------
 4 files changed, 144 insertions(+), 97 deletions(-)