libtracefs: Add cpu-map sample to trace mapped buffer

Add a sample program that reads the trace buffer with the mapped open.

Link: https://lore.kernel.org/linux-trace-devel/20240723220853.489058-3-rostedt@goodmis.org

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2 files changed