trace-cmd library: Add tracecmd_follow_missed_events() API

Add the function tracecmd_follow_missed_events() to let applications add
a hook for when any events are missed. The callback will be called even
if filtering is enabled.

Link: https://lore.kernel.org/linux-trace-devel/20221106144441.1fb08fd5@rorschach.local.home

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