can systemtap 0.9.9's uprobes be used on Linux Kernel 2.6.28 ?
Jim Keniston
jkenisto@us.ibm.com
Wed Sep 2 16:27:00 GMT 2009
On Wed, 2009-09-02 at 10:01 +0800, zshan wrote:
> 
> >> Yes. With 2.6.27 or later, you should be running the "new" (as of
> summer 2008) version of utrace, and that should cause uprobes/uprobes.c
> to pull in ../uprobes2/uprobes.c... but that's not happening.
> pt_regs->eip changed to pt_regs->ip somewhere around 2.6.25.
>
> Then what can I do if I want to use systemtap's uprobes on 2.6.28?
>
>
> 2009-09-02
>
> ______________________________________________________________________
> Best Regrads
> zengshan
>
I'm pretty sure that applying utrace.patch from here
http://people.redhat.com/roland/utrace/old/2.6.28/
will give you what you want.
I got my utrace snapshots (2.6.27, 28, 29) from this git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-utrace.git
Jim
More information about the Systemtap
mailing list