From: md@google.com (Michael Davidson)
Subject: [ltt-dev] LTTng specialized probes
Date: Wed, 8 Oct 2008 20:04:42 -0700 [thread overview]
Message-ID: <6cc912950810082004n2b15cf92qc855d1a279e9f2ce@mail.gmail.com> (raw)
Message-ID: <20081009030442.SKQyTfszzAcLiugvwe5Hv8YLdooCo1VavkXUhHvMOp0@z> (raw)
In-Reply-To: <20081008000727.GA22427@Krystal>
On Tue, Oct 7, 2008 at 5:07 PM, Mathieu Desnoyers <
compudj at krystal.dyndns.org> wrote:
>
> >
> > This conversion could be done in the kernel, by a user space program
> > running on the same machine, or by a program running elsewhere.
>
> You seem to assume that the same ABI the kernel runs in will be
> available elsewhere, which might not be true in the embedded field. The
> same applies to 64-bits x86 kernel with 32-bits userland. Therefore,
> getting data out of the kernel should be done by a standardized ABI;
> ideally following the kernel ABI for speed, but more importantly :
> self-described. This is what LTTng does.
>
I am confused by your response - I think that we are in agreement but may
be using terminology slightly differently.
When I said that the conversion could be done by "a program running
elsewhere"
I was assuming that the metadata which came along with the raw trace data
would be sufficient to make that possible.
In other words:
- the metadata itself must be in a canonical format (ascii perhaps?) or be
sufficiently self describing that it can be interpreted correctly.
- the metadata must completely describe the format of the binary data
including such things as byte order, size and alignment of data types
and the mapping of all binary values into a canonical external format
(ie maps for event numbers to event names, system call numbers to
system call names etc)
Given that information you can write a portable program which can run
anywhere which can do the conversion.
I am not sure what the mechanism for extracting the trace data from
the kernel and getting it into user space has to do with this.
md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20081008/34ace8ae/attachment-0003.htm>
next prev parent reply other threads:[~2008-10-09 3:04 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5df78e1d0809231814i4b9b98eeyfb9746e5dbb9eb72@mail.gmail.com>
[not found] ` <20080924072503.GA15570@bolzano.suse.de>
[not found] ` <532480950809240032t644448f7lc4fdc0dffca69b9@mail.gmail.com>
2008-10-06 14:11 ` Mathieu Desnoyers
2008-10-06 15:14 ` Martin Bligh
2008-10-06 15:26 ` Mathieu Desnoyers
2008-10-06 15:37 ` Martin Bligh
2008-10-06 15:56 ` Mathieu Desnoyers
2008-10-06 17:55 ` Jiaying Zhang
2008-10-06 17:55 ` Jiaying Zhang
2008-10-06 17:55 ` Jiaying Zhang
[not found] ` <5df78e1d0810071116i2e9790cdx8d5854dbfa50cfaf@mail.gmail.com>
2008-10-07 21:28 ` Michael Davidson
2008-10-07 21:28 ` Michael Davidson
2008-10-07 21:28 ` Michael Davidson
2008-10-08 0:07 ` Mathieu Desnoyers
2008-10-08 15:56 ` Jan Kiszka
2008-10-08 15:56 ` Jan Kiszka
2008-10-08 15:56 ` Jan Kiszka
2008-10-08 16:06 ` Martin Bligh
2008-10-09 2:43 ` Mathieu Desnoyers
2008-10-09 2:24 ` Mathieu Desnoyers
2008-10-09 2:24 ` Mathieu Desnoyers
2008-10-09 2:24 ` Mathieu Desnoyers
2008-10-09 3:04 ` Michael Davidson [this message]
2008-10-09 3:04 ` Michael Davidson
2008-10-09 3:04 ` Michael Davidson
2008-10-09 15:28 ` Mathieu Desnoyers
2008-10-09 15:39 ` Martin Bligh
2008-10-09 16:15 ` Mathieu Desnoyers
2008-10-09 16:28 ` Martin Bligh
2008-10-09 16:55 ` Mathieu Desnoyers
2008-10-08 0:26 ` Mathieu Desnoyers
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=6cc912950810082004n2b15cf92qc855d1a279e9f2ce@mail.gmail.com \
--to=md@google.com \
/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