mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: binary ftrace buffer format
Date: Mon, 13 Jul 2009 23:23:09 +0200	[thread overview]
Message-ID: <1247520189.4071.4.camel@johannes.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Hi!

For the past hour or so I've been trying to make Steven's rb-read.pl
script [1] work, but not only is it endian-challenged, working only on
LE, but also does it seems to have a different idea of the ring buffer
format, so even with fixes I can't get it to print proper data.

I'm convinced that it would be trivial to write a program to parse the
binary trace buffer, but I can't find a format description. Can somebody
point me to one please?

Oh and a tangential question -- that thing seems to work on pages, does
that mean I can't trace something larger than a page?

johannes

[1] http://lwn.net/Articles/321777/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

             reply	other threads:[~2009-07-13 21:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-13 21:23 Johannes Berg [this message]
2009-07-14 17:22 ` Johannes Berg
2009-07-21  1:51 ` Steven Rostedt
2009-07-21 10:46   ` Johannes Berg
2009-07-22 11:36   ` Johannes Berg
2009-07-22 15:17     ` Steven Rostedt

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=1247520189.4071.4.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --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

all inboxes | Powered by JetHome®