All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kbuffer: Some minor fixes
@ 2024-01-05 19:37 Steven Rostedt
  2024-01-05 19:37 ` [PATCH 1/3] libtraceevent Documentation: Fix tep_kbuffer() prototype Steven Rostedt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Steven Rostedt @ 2024-01-05 19:37 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Vincent Donnefort, Steven Rostedt (Google)

From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

The kbuffer update to work with libtracefs mmapping code had a few bugs.

1) The man page was missing its prototype for tep_kbuffer()

2) A buffer passed in to kbuffer_read_buffer() that was just big enough to
   hold the events, was not completely filled.

3) kbuffer_refresh() left the current event zero size, even if new data was
   added after it, if the last read was at the end of the page.

Steven Rostedt (Google) (3):
  libtraceevent Documentation: Fix tep_kbuffer() prototype
  kbuffer: Add event if the buffer just fits in kbuffer_read_buffer()
  kbuffer: Update kbuf->next in kbuffer_refresh()

 Documentation/libtraceevent-handle.txt |  1 +
 Documentation/libtraceevent.txt        |  2 +-
 src/kbuffer-parse.c                    | 16 +++++++++++++++-
 3 files changed, 17 insertions(+), 2 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-01-08 16:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 19:37 [PATCH 0/3] kbuffer: Some minor fixes Steven Rostedt
2024-01-05 19:37 ` [PATCH 1/3] libtraceevent Documentation: Fix tep_kbuffer() prototype Steven Rostedt
2024-01-05 19:37 ` [PATCH 2/3] kbuffer: Add event if the buffer just fits in kbuffer_read_buffer() Steven Rostedt
2024-01-05 19:37 ` [PATCH 3/3] kbuffer: Update kbuf->next in kbuffer_refresh() Steven Rostedt
2024-01-05 21:01   ` Vincent Donnefort
2024-01-08 11:11     ` Vincent Donnefort
2024-01-08 16:28       ` Steven Rostedt
2024-01-08 16:47         ` Vincent Donnefort

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.