Hello!
On Tue, Jun 17, 2014 at 7:57 PM, SplitIce wrote:
> That requires a kernel patch for the userspace probes (on kernel 3.10)? I
> tried to get it to work ages ago without luck.
>
Kernel 3.5+ has uprobes by default and kernel 3.10+ has uretprobes by
default. So you don't need to patch the kernel to get user-space
probing support at all.
Regarding the flame graph tools, it is recommended to apply the
following patch to add back the timer hook API to the kernel for the
best results (though without the patch, it should also work, more or
less):
http://agentzh.org/misc/kernel/linux-3.10.16-timer_hook_api.patch
The timer hook API was removed in kernel 3.8 or 3.9 because the kernel
developers thought there was no out-of-tree users for this feature. So
using kernel 3.5 ~ 3.7 do not need this patch at all.
Regards,
-agentzh