The trace buffer page size is equal to the system memory page size in the current ftrace implementation, but this may change in the future. The newly introduced traceevent library API should be used to get the real trace buffer page size, bases on the information from the "events/header_page" ftrace file. Tzvetomir Stoyanov (VMware) (2): trace-cmd library: Use the real trace buffer page size trace-cmd library: Introduce buffer page size per instance This patch set depends on: "trace-cmd fixes and clean-ups" patch set. "Refactor APIs for creating output handler" patch set. "Refactor the logic for writing trace data in the file" patch set. "Trace file version 7 - sections" patch set. "Trace file version7 - compression" patch set. "trace-cmd convert" patch set. "trace-cmd dump - v7 update" patch set. "trace-cmd documentation update for v7 files" patch set. [PATCH] libtraceevent: A new API for trace page size. lib/trace-cmd/include/trace-cmd-local.h | 4 +- lib/trace-cmd/trace-input.c | 11 ++- lib/trace-cmd/trace-output.c | 106 +++++++++++++++++++++--- tracecmd/trace-dump.c | 9 +- 4 files changed, 112 insertions(+), 18 deletions(-) -- 2.33.1