public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* LTTng 0.66 (dynamic channel allocation, markers modifications)
@ 2008-12-13 21:46 Mathieu Desnoyers
  0 siblings, 0 replies; only message in thread
From: Mathieu Desnoyers @ 2008-12-13 21:46 UTC (permalink / raw)
  To: ltt-dev
  Cc: Linus Torvalds, Andrew Morton, Thomas Gleixner, Steven Rostedt,
	Ingo Molnar, linux-kernel

Hi,

I just finished a big development iteration on LTTng/markers. It updates
the following tools :

LTTng 0.66, ltt-control 0.60, LTTV 0.12.0

And it changes the trace version number to 2.3.

Those were the last major changes I had to do to LTTng before releasing
it to LKML. It includes :

- Dynamic allocation of channels.
- Channels are declared in a supplementary marker parameter.
- Event IDs are now managed by the marker infrastructure.
- Event IDs are now dynamically allocated per-channel.

With these changes, changing any tracer so it uses the LTTng buffering
mechanism becomes as trivial as declaring a marker (DECLARE_MARKER())
and using the reference to the marker structure in a probe callback to
send the information into LTTng trace buffers. Many traces can be active
at once, each with their own set of active channels. Therefore, a given
tracer might only want to enable its own channel and the metadata
channel so it only gets its own information.

So in the current marker implementation, the marker declaration is
responsible for associating a data source with a :

- Channel
- Event ID within this channel
- Field types (format string)

Currently, the last element missing is the ltt-ascii.ko kernel module
which pretty-prints the information from within the kernel. The trace
clock time-base might not be as shiny as people would want it to
(especially wrt non-synchronized TSCs), but it works. I guess I'll have
to give it another good look before I resubmit it though.

Mathieu

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-13 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13 21:46 LTTng 0.66 (dynamic channel allocation, markers modifications) Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox