From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Martin Bligh <mbligh@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
linux-kernel@vger.kernel.org, prasad@linux.vnet.ibm.com,
Linus Torvalds <torvalds@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
od@suse.com, "Frank Ch. Eigler" <fche@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
hch@lst.de, David Wilder <dwilder@us.ibm.com>,
Tom Zanussi <zanussi@comcast.net>
Subject: Re: [RFC PATCH] LTTng relay buffer allocation, read, write
Date: Tue, 30 Sep 2008 16:55:28 -0400 [thread overview]
Message-ID: <20080930205528.GA28964@Krystal> (raw)
In-Reply-To: <33307c790809301349g6f702ffq356c37e24cdfaa63@mail.gmail.com>
* Martin Bligh (mbligh@google.com) wrote:
> > I am not saying anything about the actual number of events with 0 bytes
> > payload I actually have in my own instrumentation, if this is what you
> > mean. I am just saying that it leaves this room available for such
> > events.
>
> It would, yes. Are they useful?
>
Stuff like irq_exit has 0 byte payload, is very high rate, and useful,
yes.
> > Even if there is a 32 bits payload associated with those events, the
> > fact that we can encode the event ID in the 32 bits header will bring
> > those events from 96 bits (due to 32 bits alignment) down to 64 bits.
>
> That's true. So do we have a bunch of stuff that we really really need
> that'd fit into 32 bits, but not 28 bits?
>
Probably pointers on 32 bits archs. Any "int" value, on 32 or 64 bits,
will need careful attention if we want only to export the 28 LSBs. It
would probably make error value export a bit trickier and error-prone.
> >> This is all over 1 bit of information, right? Since you need at least 1 for
> >> the timestamp stuff.
> >
> > 4 bits of information could be added to the 32-bits header if we allow
> > tracers to register their first 15 event IDs in those 4 bits.
> >
> > But well... let's keep that for v2. ;)
>
> Sounds like a plan ;-) All this stuff is internal representations anyway.
Yup.
Mathieu
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
prev parent reply other threads:[~2008-09-30 20:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-27 13:40 [RFC PATCH] LTTng relay buffer allocation, read, write Mathieu Desnoyers
2008-09-27 17:10 ` Peter Zijlstra
2008-09-28 8:59 ` Peter Zijlstra
2008-09-29 16:06 ` Mathieu Desnoyers
2008-09-29 15:50 ` Mathieu Desnoyers
2008-09-29 16:38 ` Steven Rostedt
2008-09-29 18:38 ` Mathieu Desnoyers
2008-09-29 19:40 ` Steven Rostedt
2008-09-29 19:54 ` Steven Rostedt
2008-09-29 17:30 ` Peter Zijlstra
2008-09-29 20:31 ` Mathieu Desnoyers
2008-09-29 21:24 ` Steven Rostedt
2008-09-30 17:22 ` Martin Bligh
2008-09-30 17:23 ` Martin Bligh
2008-09-30 18:14 ` Mathieu Desnoyers
2008-09-30 18:22 ` Steven Rostedt
2008-09-30 18:35 ` Mathieu Desnoyers
2008-09-30 19:43 ` Steven Rostedt
2008-09-30 20:01 ` Frank Ch. Eigler
2008-09-30 20:21 ` Steven Rostedt
2008-09-30 19:44 ` Martin Bligh
2008-09-30 19:54 ` Mathieu Desnoyers
2008-09-30 20:49 ` Martin Bligh
2008-09-30 20:55 ` Mathieu Desnoyers [this message]
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=20080930205528.GA28964@Krystal \
--to=mathieu.desnoyers@polymtl.ca \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=dwilder@us.ibm.com \
--cc=fche@redhat.com \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@google.com \
--cc=od@suse.com \
--cc=prasad@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=zanussi@comcast.net \
/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