Fw: Re: problem when running the following script
Frank Ch. Eigler
fche@redhat.com
Sun May 10 15:06:00 GMT 2009
Hi -
On Sun, May 10, 2009 at 12:56:44PM +0800, zshan wrote:
> [...]
> if I want to probe this function: tun_chr_aio_read , which located in the path : kernel\driver\net\tun.c
> how can I probe that?
>
> I did that throught the following script:
> stap -l 'kernel.function("*@/drivers/net/tun.c")'
The problem is the "kernel." part. tun is often compiled into
a separate module, so one would use something like:
stap -l 'module("tun").function("*@drivers/net/*")'
- FChE
More information about the Systemtap
mailing list