mbox series

[0/6] libtraceevent/kbuffer: Add more kbuffer APIs

Message ID 20231224191813.1076074-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtraceevent/kbuffer: Add more kbuffer APIs | expand

Message

Steven Rostedt Dec. 24, 2023, 7:15 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

In preparation to add more advanced kbuffer functionality to libtracefs,
some kbuffer APIs are needed. This will also allow libtracefs to add APIs
for the upcoming memory mapping of the kernel ring buffer.

Steven Rostedt (Google) (6):
  libtraceevent: Add tep_get_sub_buffer_commit_offset()
  libtraceevent: Fix tep_kbuffer() to have kbuf assign long_size
  kbuffer: Add kbuffer_read_buffer()
  kbuffer: Add kbuffer_dup()
  kbuffer: Add kbuffer_subbuffer() API
  kbuffer: Add kbuffer_refresh() API

 .../libtraceevent-kbuffer-create.txt          |  30 ++-
 Documentation/libtraceevent-kbuffer-read.txt  |  19 +-
 Documentation/libtraceevent-page_size.txt     |   9 +
 Documentation/libtraceevent.txt               |   5 +
 include/traceevent/event-parse.h              |   1 +
 include/traceevent/kbuffer.h                  |   4 +
 src/event-parse-api.c                         |  15 ++
 src/kbuffer-parse.c                           | 223 ++++++++++++++++--
 src/parse-utils.c                             |   5 +
 9 files changed, 287 insertions(+), 24 deletions(-)