This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: can systemtap 0.9.9's uprobes be used on Linux Kernel 2.6.28 ?
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: zshan <zshan at cse dot buaa dot edu dot cn>
- Cc: systemtap <systemtap at sourceware dot org>
- Date: Tue, 1 Sep 2009 09:57:35 -0400
- Subject: Re: can systemtap 0.9.9's uprobes be used on Linux Kernel 2.6.28 ?
- References: <200909011204462693529@cse.buaa.edu.cn>
Hi -
> Can systemtap 0.9.9's uprobes be used on Linux Kernel 2.6.28?
Yes, assuming it contains utrace.
> My system is Centos 5.3 and linux kernel is 2.6.28 [...]
RHEL5 (and centos) ship 2.6.18 + patches. If you're really running
2.6.28, then please identify the version of utrace applied to it.
> [...]
> In file included from /usr/local/share/systemtap/runtime/uprobes/uprobes_arch.h:4,
> from /usr/local/share/systemtap/runtime/uprobes/uprobes.h:105,
> from /usr/local/share/systemtap/runtime/uprobes/uprobes.c:42:
> /usr/local/share/systemtap/runtime/uprobes/uprobes_i386.h: In function âarch_get_probeptâ:
> /usr/local/share/systemtap/runtime/uprobes/uprobes_i386.h:55: errorïâstruct pt_regsâ has no âeipâ element
> [...]
This is kind of weird, seemingly related to the x86_64+i386 arch
merger done in the 2.6.24 timeframe.
- FChE