blob: c519426194734c5311464c04df8d7314c282eb22 (
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
|
.\" -*- nroff -*-
.TH STAPPROBES.TCP 5 @DATE@ "IBM, Intel"
.SH NAME
stapprobes.tcp \- systemtap tcp 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 TCP layer activities.
It contains the following probe points:
.P
.TP
.B tcp.sendmsg
Fires whenever sending a tcp message
.B Arguments:
.I sock
network socket
.I size
number of bytes to send
.P
.TP
.B tcp.sendmsg.return
Fires whenever sending message is done
.B Arguments:
.I size
number of bytes sent
.P
.TP
.B tcp.recvmsg
Fires whenever a message is received
.B Arguments:
.I sock
network socket
.I size
number of bytes to be received
.P
.TP
.B tcp.recvmsg.return
Fires whenever message receiving is done
.B Arguments:
.I size
number of bytes received
.P
.TP
.B tcp.disconnect
Fires whenever tcp is disconnected
.B Arguments:
.I sock
network socket
.I flags
TCP flags (e.g. FIN, etc)
.P
.TP
.B tcp.disconnect.return
Fires when returning from tcp.disconnect
.B Arguments:
.I ret
error code (0: no error)
.SH SEE ALSO
.IR stap (1),
.IR stapprobes (5),
|