tools lib traceevent: Add more debugging to see various internal ring buffer entries
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 1 Apr 2019 16:43:09 +0000 (12:43 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Apr 2019 18:18:09 +0000 (15:18 -0300)
commit70df6a7311186a7ab0b19f481dee4ca540a73837
tree4b56b9f85d47d16ece31e434c92f1402800b4868
parent6699ed712a97f70267e017f509126b890f6f6b28
tools lib traceevent: Add more debugging to see various internal ring buffer entries

When trace-cmd report --debug is set, show the internal ring buffer
entries like time-extends and padding. This requires adding new kbuffer
API to retrieve these items.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Link: http://lkml.kernel.org/r/20190401164343.257591565@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/kbuffer-parse.c
tools/lib/traceevent/kbuffer.h