libtraceevent: Documentation: Correct typo in example

There is no struct tep_event_format, it should be struct tep_event. And
the first parameter in tep_find_event_by_record() should be tep, instead
of pevent.

Link: https://lore.kernel.org/linux-trace-devel/20220823151541.151549-1-beanhuo@iokpp.de

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