summaryrefslogtreecommitdiffstats
path: root/rpc-probes.stp
blob: 5661ae9377aae21d0027d1ff9b43ae01a0ec4d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
probe sunrpc.sched.new_task {
	printf("%s: xid %d prog %d vers %d prot %d flags %x\n",
		name, xid, prog, vers, prot, flags);
}
probe sunrpc.sched.new_task.return {
	printf("%s: retstr %s\n", name, retstr);
}
*/
/*
probe sunrpc.clnt.create_client {
	printf("%s: server %s progname %s prog %d vers %d authflavor %d\n",
		name, servername, progname, prog, vers, authflavor);
}
probe sunrpc.clnt.create_client.return {
		printf("%s: retstr %s\n", name, retstr);
}
*/
probe sunrpc.entry {
	printf("%s: %s\n", name, argstr) 
}
probe sunrpc.return {
	printf("%s: %s\n", name, retstr);
}
probe sunrpc.clnt.entry {
	printf("%s: %s\n", name, argstr) 
}
probe sunrpc.clnt.return {
		printf("%s: %s\n", name, retstr);
}
probe sunrpc.sched.entry {
	printf("%s: %s\n", name, argstr) 
}
probe sunrpc.sched.return {
		printf("%s: %s\n", name, retstr);
}

probe begin { log("Starting RPC client probes") }
probe end { log("Ending RPC client probes") }