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