[PATCH 0/3] libtracefs: Enable ring buffer user space memory mapping

Steven Rostedt <[email protected]>
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
From: "Steven Rostedt (Google)" <[email protected]>

Now that the ring buffer memory mapping is officially part of the Linux
Kernel as of v6.10, enable it in the library.

Also add sample code to use it and make a fix in the self tests.

Steven Rostedt (Google) (3):
  libtracefs: Enable mmapped ring buffer
  libtracefs: Add cpu-map sample to trace mapped buffer
  libtracefs utest: Add better logic to cause missed events

 samples/Makefile      |  2 +
 samples/cpu-map.c     | 90 +++++++++++++++++++++++++++++++++++++++++++
 src/tracefs-mmap.c    | 10 ++---
 utest/tracefs-utest.c | 15 +++++++-
 4 files changed, 108 insertions(+), 9 deletions(-)
 create mode 100644 samples/cpu-map.c

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.