hi,
i gone through the code Tcpsnoop in Dtracetoolkit, they have used clause like
.fbt:sockfs:sotpi_accept:entry{}.
i am unable to point out what this function sotpi_accept stand for,likewise a no
of similar functions r used like tcp_connect,
tcp_get_conn:return & so on.
anyone help me,where i can find the information regarding these functions in
sockfs module in fbt,means what these functions do and what are arguments they
recieve.
This message posted from opensolaris.org
You can use opensolaris source browser http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/fs/sockfs/socktpi.c#1409 Thanks, Gangadhar. ramesh wrote:>hi, > >i gone through the code Tcpsnoop in Dtracetoolkit, they have used clause like .fbt:sockfs:sotpi_accept:entry{}. > >i am unable to point out what this function sotpi_accept stand for,likewise a no of similar functions r used like tcp_connect, >tcp_get_conn:return & so on. >anyone help me,where i can find the information regarding these functions in sockfs module in fbt,means what these functions do and what are arguments they recieve. > > >This message posted from opensolaris.org >_______________________________________________ >dtrace-discuss mailing list >dtrace-discuss at opensolaris.org > >
Hi, I am trying to use dtrace to replace/override function return value, e.g. force strlen to return 3 always. However, so far I can not find way to do this in ''return'' probe (from ''pid'' provider). I tried to play with ''copyout'' and ''arg0'' but it seems I miss something - can anyone help me with working example? thanks a lot, -katya
On Tue, May 02, 2006 at 09:11:06PM -0700, ramesh wrote:> hi, > > i gone through the code Tcpsnoop in Dtracetoolkit, they have used clause like .fbt:sockfs:sotpi_accept:entry{}. > > i am unable to point out what this function sotpi_accept stand > for,likewise a no of similar functions r used like tcp_connect, > tcp_get_conn:return & so on. anyone help me,where i can find the > information regarding these functions in sockfs module in fbt,means > what these functions do and what are arguments they recieve.You should look at http://cvs.opensolaris.org/. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development
I am sorry for multiple copies of mail from me - it was not done intensionally. I was trying to send it while our mail server had problems (without any luck and with clear error message) and now it seems actually sending them :) -katya Ekaterina Pavlova wrote:> Hi, > > I am trying to use dtrace to replace/override function return value, > e.g. force strlen to return 3 always. > > However, so far I can not find way to do this in ''return'' probe (from > ''pid'' provider). > I tried to play with ''copyout'' and ''arg0'' but it seems I miss > something - can anyone help me with working example? > > > thanks a lot, > -katya > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org