This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Re: Fw: Re: problem when running the following script


Hi -

On Tue, May 19, 2009 at 11:16:43PM +0800, zshan wrote:
> yesï the tun.ko.debug really exists
> find ./ -name "tun.ko.debug"
> ./usr/lib/debug/lib/modules/2.6.18-92.el5PAE/kernel/drivers/net/tun.ko.debug
> ./usr/lib/debug/lib/modules/2.6.18-92.el5/kernel/drivers/net/tun.ko.debug
> then what should I do?

Find out what systemtap is looking for:

% stap --vp 25 -e 'probe module("tun").function("tun_net_open") {}' -p4

and/or

% strace -f stap ... 2>&1 | grep tun.ko

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]