linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-trace-devel@vger.kernel.org
Cc: "Steven Rostedt (Google)" <rostedt@goodmis.org>
Subject: [PATCH 0/6] libtraceevent/kbuffer: Add more kbuffer APIs
Date: Sun, 24 Dec 2023 14:15:57 -0500	[thread overview]
Message-ID: <20231224191813.1076074-1-rostedt@goodmis.org> (raw)

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(-)

-- 
2.42.0


             reply	other threads:[~2023-12-24 19:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-24 19:15 Steven Rostedt [this message]
2023-12-24 19:15 ` [PATCH 1/6] libtraceevent: Add tep_get_sub_buffer_commit_offset() Steven Rostedt
2023-12-24 19:15 ` [PATCH 2/6] libtraceevent: Fix tep_kbuffer() to have kbuf assign long_size Steven Rostedt
2023-12-24 19:16 ` [PATCH 3/6] kbuffer: Add kbuffer_read_buffer() Steven Rostedt
2023-12-24 19:16 ` [PATCH 4/6] kbuffer: Add kbuffer_dup() Steven Rostedt
2023-12-24 19:16 ` [PATCH 5/6] kbuffer: Add kbuffer_subbuffer() API Steven Rostedt
2023-12-24 19:16 ` [PATCH 6/6] kbuffer: Add kbuffer_refresh() API Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231224191813.1076074-1-rostedt@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).