This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Re: can systemtap 0.9.9's uprobes be used on Linux Kernel 2.6.28 ?
- From: Jim Keniston <jkenisto at us dot ibm dot com>
- To: zshan <zshan at cse dot buaa dot edu dot cn>
- Cc: systemtap <systemtap at sourceware dot org>
- Date: Wed, 02 Sep 2009 09:27:31 -0700
- Subject: Re: Re: can systemtap 0.9.9's uprobes be used on Linux Kernel 2.6.28 ?
- References: <200909011204462693529@cse.buaa.edu.cn> , <20090901135735.GP2986@redhat.com> , <1251825203.4899.7.camel@localhost.localdomain> <200909021001058624816@cse.buaa.edu.cn>
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