LTTng 0.165 for 2.6.31.5 : refactoring/cleanup

From: Mathieu Desnoyers
Date: Tue Nov 03 2009 - 01:18:04 EST


Hi,

I just finished testing the LTTng refactoring. It consists of:

- Change design to inheritance for channels and buffers.
- Eliminate structure duplication for locking/allocation level of buffer and
channel.
- Remove now unnecessary krefs.
- Fix cpu hotplug for timers.
- Cleanups.

Impact:
- Cleaner code.
- Simpler structures for channel/buffers.
- Smaller d-cache footprint.

It also permits to change the license of all LTTng modules needed both
for kernel and user-space tracing to dual LGPL/GPL license.

Due to the size of this change, review and testing would be very
welcome. I decided to do it in a separate patch on top of the tree
rather than rebasing. Considering the size of this modification, going
over the modified code on a file by file basis rather than looking at
the patch itself is probably easier.

I decided to mark the "locked" and "irqoff" locking schemes as "BROKEN"
for now and focus on the lockless scheme. We could re-create them if
needed by deriving from the lockless code-base.

Thanks,

Mathieu

--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/