Fw: Re: problem when running the following script
Frank Ch. Eigler
fche@redhat.com
Tue May 19 14:57:00 GMT 2009
Hi -
On Tue, May 19, 2009 at 10:24:25PM +0800, zshan wrote:
> I run "grep tun_ /proc/kallsyms "
> it shows that:
> f8c68000 t tun_net_open [tun]
> [...]
OK, from this we know that you do have a "tun" module.
If the tun.ko file was stripped (readelf -S .../tun.ko shows no
.debug_* sections), your distribution ought provide a tun.ko.debug
file somewhere with that information. You will have to find out
whether this is the case, and what your distribution plans to do
about it.
Alternately, you may be able to use
probe kprobe.function("tun_SOME_FUNCTION") { /* ... */ }
but then you won't have access to context $variables.
- FChE
More information about the Systemtap
mailing list