linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] Get trace buffer page size from kernel
@ 2022-01-26  9:57 Tzvetomir Stoyanov (VMware)
  2022-01-26  9:57 ` [PATCH v6 1/2] trace-cmd library: Use the real trace buffer page size Tzvetomir Stoyanov (VMware)
  2022-01-26  9:57 ` [PATCH v6 2/2] trace-cmd library: Introduce buffer page size per instance Tzvetomir Stoyanov (VMware)
  0 siblings, 2 replies; 3+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2022-01-26  9:57 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

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.

This patch set depends on:
 "[PATCH v8 0/4] trace-cmd documentation update for v7 files"
 https://lore.kernel.org/linux-trace-devel/20220126095530.571035-1-tz.stoyanov@gmail.com/

v6 changes:
 - Code cleanups.
 - Rebase.
v5 changes:
 - Bug fixes.
 - Code cleanups.
 - Rebase.
v4 changes
 - Rebased on top of the latest master.
v3 changes
 - Rebased on top of the latest master.
v2 changes:
 - libtraceevent API is renamed, use the new version.
 - Rewrote get_trace_page_size() to use libtracefs APIs.
 - Cleanups in "trace-cmd dump" output, related to buffer page size print.

Tzvetomir Stoyanov (VMware) (2):
  trace-cmd library: Use the real trace buffer page size
  trace-cmd library: Introduce buffer page size per instance

 .../trace-cmd/trace-cmd.dat.v7.5.txt          |  1 +
 lib/trace-cmd/include/trace-cmd-local.h       |  4 +-
 lib/trace-cmd/trace-input.c                   | 12 ++-
 lib/trace-cmd/trace-output.c                  | 74 +++++++++++++++----
 tracecmd/trace-dump.c                         |  9 ++-
 5 files changed, 80 insertions(+), 20 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-26  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-26  9:57 [PATCH v6 0/2] Get trace buffer page size from kernel Tzvetomir Stoyanov (VMware)
2022-01-26  9:57 ` [PATCH v6 1/2] trace-cmd library: Use the real trace buffer page size Tzvetomir Stoyanov (VMware)
2022-01-26  9:57 ` [PATCH v6 2/2] trace-cmd library: Introduce buffer page size per instance Tzvetomir Stoyanov (VMware)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).