This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Script throws an error in Pass 5
Hi,
On Sat, 2009-03-07 at 06:39 -0800, beginner966 wrote:
> >Could you post the script
>
> This is the script:
The script seems to run fine here (2.6.18-128.1.1.el5xen, stap version
0.7.2/0.137 non-git sources or version 0.9/0.140 commit 8c5905d0 +
changes), although none of the kernel function probe points seem to be
ever hit. I didn't inspect the script and kernel functions closely
though to see why.
> This is the stap -vv output.
>
> SystemTap translator/driver (version 0.9/0.131 non-git sources)
I don't think this is it, but that (0.131) is a pretty old elfutils
version. You might consider updating to something newer.
> Pass 3: using cached
> /root/.systemtap/cache/29/stapconf_297666a7ea51531673cf30696f0e715a_117.h
> Pass 3: using cached
> /root/.systemtap/cache/99/stap_99315f6cea8f8dfe7dc6828192ab2576_4241.c
> Pass 4: using cached
> /root/.systemtap/cache/99/stap_99315f6cea8f8dfe7dc6828192ab2576_4241.ko
> Pass 5: starting run.
> Running /usr/local/bin/staprun -v
> /tmp/stap5qOIqa/stap_99315f6cea8f8dfe7dc6828192ab2576_4241.ko
> ERROR: stap_99315f6cea8f8dfe7dc6828192ab2576_4241: inconsistent kernel
> build-id byte #0 (0xff [actual] vs. 0x1c [debuginfo])
Hmmm. This shouldn't be using a cached version when the debuginfo (or
the kernel) versions changed. But in case it did. Please try removing
your /root/.systemtap/cache dir.
Cheers,
Mark