diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-03-24 14:57:56 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-24 16:22:09 +0100 |
commit | 82ac952be6348dc072dcfd80a2dcb511d0cd6bea (patch) | |
tree | 2e4b5869b8641cda588f06f7c4c0634cb894be0e /tools/lib/traceevent/kbuffer.h | |
parent | tools lib traceevent kbuffer: Remove extra update to data pointer in PADDING (diff) | |
download | linux-82ac952be6348dc072dcfd80a2dcb511d0cd6bea.tar.xz linux-82ac952be6348dc072dcfd80a2dcb511d0cd6bea.zip |
tools lib traceevent: Add way to find sub buffer boundary
For debugging purposes, it may be helpful for the kbuffer library to flag
when crossing a sub buffer.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20150324135923.650983637@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | tools/lib/traceevent/kbuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/traceevent/kbuffer.h b/tools/lib/traceevent/kbuffer.h index c831f64b17a0..03dce757553f 100644 --- a/tools/lib/traceevent/kbuffer.h +++ b/tools/lib/traceevent/kbuffer.h @@ -63,5 +63,6 @@ int kbuffer_missed_events(struct kbuffer *kbuf); int kbuffer_subbuffer_size(struct kbuffer *kbuf); void kbuffer_set_old_format(struct kbuffer *kbuf); +int kbuffer_start_of_data(struct kbuffer *kbuf); #endif /* _K_BUFFER_H */ |