[PATCH 0/4] libtracefs: More updates and fixes to mmap code

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

 



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

Changed the iterator to use memory mapping when possible, which also
triggered bugs in the unit tests. Those were fixed here too.

Steven Rostedt (Google) (4):
  libtracefs: Unmap mmap mapping on tracefs_cpu close
  libtracefs: Use tracefs_cpu_*_buf() calls for iterator
  libtracefs: Use mmapping for iterating raw events
  libtracefs: Have tracefs_cpu_flush(_buf)() use mapping

 src/tracefs-events.c | 57 +++++++++++++-------------------------------
 src/tracefs-record.c | 11 +++++++++
 2 files changed, 27 insertions(+), 41 deletions(-)

-- 
2.43.0





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

  Powered by Linux