Debian Codegraph @

testsuite/buildok/rpc-detailed.stp

raw
1 #! stap -p4 --compatible=2.9
2
3 #
4 # Meta sunrpc tests
5 #
6
7 probe sunrpc.entry {
8 printf("%s(%s)\n", name, argstr)
9 }
10
11 probe sunrpc.return {
12 printf("%s %s\n", name, retstr)
13 }
14
15 #
16 # sunrpc.clnt.* tests
17 #
18
19 probe sunrpc.clnt.*.return {
20 printf("%s %s\n", name, retstr)
21 }
22
23 probe sunrpc.clnt.create_client, sunrpc.clnt.clone_client {
24 printf("%s(%s)\n", name, argstr)
25 }
26
27 probe sunrpc.clnt.shutdown_client {
28 printf("%s(%s)\n", name, argstr)
29 printf("%d %d %d %d %d %d %d %d %d\n", netreconn, rpccnt,
30 om_ops, om_ntrans, om_bytes_sent, om_bytes_recv,
31 om_queue, om_rtt, om_execute)
32 }
33
34 probe sunrpc.clnt.bind_new_program {
35 printf("%s(%s)\n", name, argstr)
36 printf("%d\n", prog)
37 }
38
39 probe sunrpc.clnt.call_sync, sunrpc.clnt.call_async {
40 printf("%s(%s)\n", name, argstr)
41 printf("%d %d %d %d %d\n", prog, prot, port, dead, proc)
42 }
43
44 probe sunrpc.clnt.restart_call {
45 printf("%s(%s)\n", name, argstr)
46 }
47
48 #
49 # sunrpc.svc.* tests
50 #
51
52 probe sunrpc.svc.*.return {
53 printf("%s %s\n", name, retstr)
54 }
55
56 probe sunrpc.svc.register
57 {
58 printf("%s(%s)\n", name, argstr)
59 printf("%d\n", prog)
60 }
61
62 probe sunrpc.svc.create
63 {
64 printf("%s(%s)\n", name, argstr)
65 }
66
67 probe sunrpc.svc.destroy
68 {
69 printf("%s(%s)\n", name, argstr)
70 printf("%s %d %d %d %d %d\n", sv_progname, netcnt, netcpconn,
71 rpccnt, rpcbadfmt, rpcbadauth)
72 }
73
74 probe sunrpc.svc.process {
75 printf("%s(%s)\n", name, argstr)
76 printf("%d %d\n", sv_nrthreads, rq_prot)
77 }
78
79 probe sunrpc.svc.authorise {
80 printf("%s(%s)\n", name, argstr)
81 printf("%s\n", sv_name)
82 }
83
84 probe sunrpc.svc.recv {
85 printf("%s(%s)\n", name, argstr)
86 printf("%d %d\n", sv_prog, sv_nrthreads)
87 }
88
89 probe sunrpc.svc.send, sunrpc.svc.drop {
90 printf("%s(%s)\n", name, argstr)
91 }
92
93 #
94 # sunrpc.sched.* tests
95 #
96
97 probe sunrpc.sched.*.return {
98 printf("%s %s\n", name, retstr)
99 }
100
101 probe sunrpc.sched.new_task, sunrpc.sched.release_task,
102 sunrpc.sched.execute, sunrpc.sched.delay {
103 printf("%s(%s)\n", name, argstr)
104 }