blob: c336bbed53db4f1337c0dd15f14c127ceb18ce8d (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
|
.\" -*- nroff -*-
.TH TAPSET::RPC 3stap "" "IBM"
.SH NAME
tapset::rpc \- systemtap SunRPC probe points
.\" macros
.de SAMPLE
.br
.RS
.nf
.nh
..
.de ESAMPLE
.hy
.fi
.RE
..
.SH DESCRIPTION
This family of probe points is used to probe the SUNRPC activities,
including the client, the server and the sunrpc scheduler.
It contains the following probe points:
.P
.TP
.B sunrpc.clnt.create_client
Fires when an RPC client is to be created
.B Arguments:
.I servername
The name of the server machine
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I vers
The version number of the RPC program
.I prot
The number of the IP protocol
.I authflavor
The authentication flavor
.P
.TP
.B sunrpc.clnt.clone_client
Fires when an RPC client structure is to be cloned
.B Arguments:
.I servername
The name of the server machine
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I vers
The version number of the RPC program
.I prot
The number of the IP protocol
.I authflavor
The authentication flavor
.P
.TP
.B sunrpc.clnt.shutdown_client
Fires when an RPC client is to be shut down
.B Arguments
.I servername
The name of the server machine
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I vers
The version number of the RPC program
.I prot
The number of the IP protocol
.I authflavor
The authentication flavor
.I clones
The number of clones
.I tasks
The number of references
.I netreconn
The count of reconnections
.I rpccnt
The count of RPC calls
.I om_ops
The count of operations
.I om_ntrans
The count of RPC transmissions
.I om_bytes_sent
The count of bytes out
.I om_bytes_recv
The count of bytes in
.I om_queue
The jiffies queued for transmission
.I om_rtt
The RPC RTT jiffies
.I om_execution
The RPC execution jiffies
.P
.TP
.B sunrpc.clnt.bind_new_program
Fires when a new RPC program is to be bound an existing client
.B Arguments
.I servername
The name of the server machine
.I old_progname
The name of old RPC program
.I old_prog
The number of old RPC program
.I old_vers
The version of old RPC program
.I progname
The name of new RPC program
.I prog
The number of new RPC program
.I vers
The version of new RPC program
.P
.TP
.B sunrpc.clnt.call_sync
Fires when an RPC procedure is to be called synchronously
.B Arguments
.I servername
The name of the server machine
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I vers
The version number of the RPC program
.I prot
The number of the IP protocol
.I port
The port number
.I xid
Current transmission id
.I dead
Whether this client is abandoned
.I procname
The procedure name in this RPC call
.I proc
The procedure number in this RPC call
.I flags
The flags of this RPC call
.P
.TP
.B sunrpc.clnt.call_async
Fires when an RPC procedure is to be called asynchronously
.B Arguments
.I servername
The name of the server machine
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I vers
The version number of the RPC program
.I prot
The number of the IP protocol
.I port
The port number
.I xid
Current transmission id
.I dead
Whether this client is abandoned
.I procname
The procedure name in this RPC call
.I proc
The procedure number in this RPC call
.I flags
The flags of this RPC call
.P
.TP
.B sunrpc.clnt.restart_call
Fires when an (async) RPC client is to be restarted
.B Arguments
.I servername
The name of the server machine
.I prog
The number of the RPC program
.I xid
The transmission id
.I tk_pid
The debugging aid of this task
.I tk_flags
The task flags
.I tk_priority
The task priority
.I tk_runstate
The task run status
.P
.TP
.B sunrpc.svc.register
Fires when an RPC service is to be registered with the local portmapper.
If proto and port == 0, it means to unregister a service.
.B Arguments
.I sv_name
The name of the service
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I prot
The number of the IP protocol
.I port
The port number
.P
.TP
.B sunrpc.svc.create
Fires when an RPC service is to be created
.B Arguments
.I progname
The name of the RPC program
.I prog
The number of the RPC program
.I pg_nvers
The total of the supported versions
.I bufsize
The buffer size
.P
.TP
.B sunrpc.svc.destroy
Fires when an RPC client is to be destroyed
.B Arguments
.I sv_name
The service name
.I sv_progname
The name of the program
.I sv_prog
The number of the program
.I sv_nrthreads
The number of concurrent threads
.I netcnt
The count of received RPC requests
.I nettcpconn
The count of accepted TCP connections
.I rpccnt
The count of valid RPC requests
.I rpcbadfmt
The count of requests dropped for bad formats
.I rpcbadauth
The count of requests drooped for authentication failure
.P
.TP
.B sunrpc.svc.process
Fires when an RPC client is to be processed
.B Arguments
.I sv_name
The service name
.I sv_prog
The number of the program
.I sv_nrthreads
The number of concurrent threads
.I peer_ip
The peer address where the request is from
.I rq_xid
The transmission id in the request
.I rq_prog
The program number in the request
.I rq_vers
The program version in the request
.I rq_proc
The procedure number in the request
.I rq_prot
The IP protocol of the request
.P
.TP
.B sunrpc.svc.authorise
Fires when an RPC client is to be authorised
.B Arguments
.I sv_name
The service name
.I peer_ip
The peer address where the request is from
.I rq_xid
The transmission id in the request
.I rq_prog
The program number in the request
.I rq_vers
The program version in the request
.I rq_proc
The procedure number in the request
.I rq_prot
The IP protocol of the request
.P
.TP
.B sunrpc.svc.recv
Fires when the server is to receive the next request on any socket
.B Arguments
.I sv_name
The service name
.I sv_prog
The number of the program
.I sv_nrthreads
The number of concurrent threads
.I timeout
The timeout of waiting for data
.P
.TP
.B sunrpc.svc.send
Fires when want to return reply to client
.B Arguments
.I sv_name
The service name
.I peer_ip
The peer address where the request is from
.I rq_xid
The transmission id in the request
.I rq_prog
The program number in the request
.I rq_vers
The program version in the request
.I rq_proc
The procedure number in the request
.I rq_prot
The IP protocol of the request
.P
.TP
.B sunrpc.svc.drop
Fires when a request is to be dropped
.B Arguments
.I sv_name
The service name
.I peer_ip
The peer address where the request is from
.I rq_xid
The transmission id in the request
.I rq_prog
The program number in the request
.I rq_vers
The program version in the request
.I rq_proc
The procedure number in the request
.I rq_prot
The IP protocol of the request
.P
.TP
.B sunrpc.sched.new_task
Fires when a new task is to be created for the specified client
.B Arguments
.I xid
The transmission id in the RPC call
.I prog
The program number in the RPC call
.I vers
The program version in the RPC call
.I prot
The IP protocol in the RPC call
.I tk_flags
The flags of the task
.P
.TP
.B sunrpc.sched.release_task
Fires when all resources associated with a task are to be released
.B Arguments
.I xid
The transmission id in the RPC call
.I prog
The program number in the RPC call
.I vers
The program version in the RPC call
.I prot
The IP protocol in the RPC call
.I tk_flags
The flags of the task
.P
.TP
.B sunrpc.sched.execute
Fires when the RPC `scheduler'(or rather, the finite state machine)
is to be executed
.B Arguments
.I xid
The transmission id in the RPC call
.I prog
The program number in the RPC call
.I vers
The program version in the RPC call
.I prot
The IP protocol in the RPC call
.I tk_pid
The debugging id of the task
.I tk_flags
The flags of the task
.P
.TP
.B sunrpc.sched.delay
Fires when a task is to be delayed
.B Arguments
.I xid
The transmission id in the RPC call
.I prog
The program number in the RPC call
.I vers
The program version in the RPC call
.I prot
The IP protocol in the RPC call
.I tk_pid
The debugging id of the task
.I tk_flags
The flags of the task
.I delay
The time delayed
.SH SEE ALSO
.IR stap (1),
.IR stapprobes (3stap)
|