Here is a new version of oprofile against 2.5.40.
As before, the full patch is available here :
with usage notes :
and more readable broken-out patches (but not applyable) :
Changes from the last version
o remove the ctx switch hook
o make event buffer be untyped ulong and use escapes for changing
cpu/context/cookie. This reduces the amount of data considerably.
o use EXPORT_SYMBOL_GPL
o more fixes and cleanups
Does anybody want to try this out ?