[PATCH] LTTng 0.6.36 for 2.6.18 (now with markers)

Mathieu Desnoyers <[email protected]>
Newsgroups gmane.linux.systemtap,gmane.linux.kernel,gmane.linux.kernel.tracing
Message-ID <20061124214831.GA25048@Krystal>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.