summaryrefslogtreecommitdiffstats
path: root/sunrpc/xprt_copy.stp
blob: fbb5fff463f0cafd4923480dccd44019029c9595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
global nbytes

probe module("sunrpc").function("xdr_inline_decode")
{
	nbytes = $nbytes;
}
probe module("sunrpc").function("xdr_inline_decode").return
{
	printf("xdr_inline_decode: bytes %d return %p\n", nbytes, $return);	
}
probe module("sunrpc").function("xdr_copy_to_scratch").return
{
	printf("xdr_copy_to_scratch: bytes %d return %p\n", nbytes, $return);	
}

probe begin { log("starting probe") }
probe end { log("ending probe") }