trace-cmd utests: Add more tests to test the iterating

Add more tests to test tracecmd_iterate_events() and
tracecmd_iterate_events_reverse(), as well as stopping and restarting.

Link: https://lore.kernel.org/linux-trace-devel/20240111172530.5a54859e@gandalf.local.home

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