linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
To: rostedt@goodmis.org
Cc: linux-trace-devel@vger.kernel.org
Subject: [PATCH 0/2] Get trace buffer page size from kernel
Date: Thu, 11 Nov 2021 17:13:24 +0200	[thread overview]
Message-ID: <20211111151326.87227-1-tz.stoyanov@gmail.com> (raw)

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


             reply	other threads:[~2021-11-11 15:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 15:13 Tzvetomir Stoyanov (VMware) [this message]
2021-11-11 15:13 ` [PATCH 1/2] trace-cmd library: Use the real trace buffer page size Tzvetomir Stoyanov (VMware)
2021-11-11 15:44   ` Steven Rostedt
2021-11-11 15:13 ` [PATCH 2/2] trace-cmd library: Introduce buffer page size per instance Tzvetomir Stoyanov (VMware)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211111151326.87227-1-tz.stoyanov@gmail.com \
    --to=tz.stoyanov@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).