This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] LTTng 0.6.36 for 2.6.18 (now with markers)
- From: Mathieu Desnoyers <mathieu dot desnoyers at polymtl dot ca>
- To: linux-kernel at vger dot kernel dot org, Christoph Hellwig <hch at infradead dot org>, Andrew Morton <akpm at osdl dot org>, Ingo Molnar <mingo at redhat dot com>, Greg Kroah-Hartman <gregkh at suse dot de>, Thomas Gleixner <tglx at linutronix dot de>, Tom Zanussi <zanussi at us dot ibm dot com>, Karim Yaghmour <karim at opersys dot com>, Paul Mundt <lethal at linux-sh dot org>, Jes Sorensen <jes at sgi dot com>, Richard J Moore <richardj_moore at uk dot ibm dot com>, "Martin J. Bligh" <mbligh at mbligh dot org>, Michel Dagenais <michel dot dagenais at polymtl dot ca>, Douglas Niehaus <niehaus at eecs dot ku dot edu>, ltt-dev at shafik dot org, systemtap at sources dot redhat dot com
- Date: Fri, 24 Nov 2006 16:48:31 -0500
- Subject: [PATCH] LTTng 0.6.36 for 2.6.18 (now with markers)
Hi,
I have, since a few weeks, moved LTTng to the markers infrastructure. I
left the ltt-dev users and contributors test the markers and LTTng on various
architectures (i386, x86_64, PowerPC, -ppc, ARM, MIPS) before posting it on
LKML.
The most important new features since the my post :
- Use DebugFS
- Use the "Markers" infrastructure (updated since the last post on LKML).
- Dynamically loadable "probes" that connects to the markers.
- CPU Hotplug support (this piece seemed necessary for the Xen port I am
currently working on)
- Use of per-CPU atomic operations even on SMP machines (no lock prefix, no
memory barriers) to update the per-cpu counters. An explicit smp_wmb()
is used at the one place where the subbuffers are tagged "full" and
smp_rmb() is used in the buffer consumer just after it reads this counter
indicating that the subbuffer is full.
I am not submitting the probes themselves, as they can be provided as separate
kernel modules.
Comments and constructive criticism are, as always, welcome.
The patches follow.
Mathieu
OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68