This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: socket-trace.stp: no match while resolving probe point kernel.function("*@net/socket.c")
- From: "Dongtao Liu" <l dot dongtao at gmail dot com>
- To: "Mark Wielaard" <mjw at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 29 Oct 2008 21:41:28 -0400
- Subject: Re: socket-trace.stp: no match while resolving probe point kernel.function("*@net/socket.c")
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WlFCyb5bvrtQpKRBoE/2JosfLiQCOZFEmSrlAlGHUpE=; b=KjuXi43PGE6VXFQncRojFGIWcirPqMB5ElU3XkqBZuevcZMiKbA/4hU8ELP+oNNwQg FVllZHlbgzSItd3jYVI14eqdY2A8EwcybwJ99T+x2/7bedPhM2b5FJrrcxoQvSXOUqQw PdEL5M/iaPZ3LWJabCvQ8PLk5HFKN9+H3y9Ho=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PIMIvdRr2I+FMQAE90OU4nkAFynXTrO2iM6KVWEg2kxUY98DLhCpnOcgvR3LOIGBqO hv/fPwYXU7ozyVtSg/zEccVlIW2s6NuId05HdZH3IUhStdmggbeGzIZijYH1HuwiJSM4 VIHh+J69eBL/cJA8VFSvgrllH76Ot+f27a9sY=
- References: <29445d0d0810232000u6d581eem939ac2c8770675e2@mail.gmail.com> <1224844283.3418.7.camel@dijkstra.wildebeest.org>
Hi:
Thank you for reply. I found it pretty strange that if I do not use
"*@net/socket.c" but use function in socket.c directly such as
sock_create. SystemTap can work well and trace all the calls of
fuction sock_create. I don't know why...
Dongtao
2008/10/24 Mark Wielaard <mjw@redhat.com>:
> Hi Dongtao,
>
> On Thu, 2008-10-23 at 23:00 -0400, Dongtao Liu wrote:
>> I install systemtap in my new Ubuntu 2.6.24-19 system and try to run
>> the examples in tutorial. The hello word and strace-open work well,
>> however the third example socket-trace has some problems.
>
> I don't immediately see why this is failing, and I don't have an ubuntu
> install around. It seems you followed
> http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu correctly. And it
> is strange that trace-open.stp does work, but socket-trace.stp doesn't.
>
> Are there other examples (http://sourceware.org/systemtap/examples/)
> that do/don't work?
>
> Maybe you can try running the testsuite (make installcheck would be
> ideal) and/or upgrading to a newer systemtap (either the last release
> 0.7.3 or current git http://sourceware.org/systemtap/getinvolved.html)
> to see if that gives more hints of what is going wrong in this case.
>
> Cheers,
>
> Mark
>
>