trace-cmd library: New API to inherit parameters from an existing trace file

The new API initializes previously allocated output handler with
parameters from an input handler to a trace file.
 tracecmd_output_set_from_input()

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

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