trace-cmd library: Introduce sections in trace file reading logic

Trace file version 7 is based on sections. Added an internal sections
database and new helper functions to add, read, open and close file
sections.

Link: https://lore.kernel.org/linux-trace-devel/20220119082507.245600-14-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