[PATCH 0/3] kbuffer: Some minor fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

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





[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux