Add way to retrieve all events

This adds the function pevent_list_events that returns a list
of event pointers. One can pass in a sort algorithm too.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
3 files changed