This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Re: Re: Fw: Re: problem when running the following script
- 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, 19 May 2009 10:54:00 -0400
- Subject: Re: Re: Re: Fw: Re: problem when running the following script
- References: <20090518043338.GB17190@redhat.com> <200905192224248083495@cse.buaa.edu.cn>
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