trace-cmd library: Compress the trace data

If the output file handler supports compression, use it to compress the
flyrecord and latency trace data.

Link: https://lore.kernel.org/linux-trace-devel/20220126094906.570451-10-tz.stoyanov@gmail.com

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed