trace-cmd: Show lost events if buffer supports it

If the ring buffer in the kernel sends information via the commit
field of the sub buffer header. Than this patch will display
where events were lost.

If the sub buffer has space and can store the count of dropped events,
this patch will show the count as well.

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