summaryrefslogtreecommitdiffstats
path: root/tapset/tcp.stp
diff options
context:
space:
mode:
authorzhaolei <zhaolei>2007-09-27 05:14:15 +0000
committerzhaolei <zhaolei>2007-09-27 05:14:15 +0000
commit6c5a7bf85ea4dd12c4481db1c82663354c42f2cc (patch)
tree22a36228ce9cd3a6a604f469c0191fae9604a84b /tapset/tcp.stp
parent58a81479785f10c9717997ba1a374125f3da7103 (diff)
downloadsystemtap-steved-6c5a7bf85ea4dd12c4481db1c82663354c42f2cc.tar.gz
systemtap-steved-6c5a7bf85ea4dd12c4481db1c82663354c42f2cc.tar.xz
systemtap-steved-6c5a7bf85ea4dd12c4481db1c82663354c42f2cc.zip
2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
* tcp.stp (sendmsg.return): Fix description of size variable. * tcp.stp (recvmsg.return): Ditto.
Diffstat (limited to 'tapset/tcp.stp')
-rw-r--r--tapset/tcp.stp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tapset/tcp.stp b/tapset/tcp.stp
index 1357e587..55f5391d 100644
--- a/tapset/tcp.stp
+++ b/tapset/tcp.stp
@@ -137,7 +137,8 @@ probe tcp.sendmsg = kernel.function("tcp_sendmsg") {
// The process which sends a tcp message
//
// Arguments:
-// size - number of bytes sent
+// size - number of bytes sent or
+// error code if an error occurred.
//
probe tcp.sendmsg.return = kernel.function("tcp_sendmsg").return {
size = $return
@@ -167,7 +168,8 @@ probe tcp.recvmsg = kernel.function("tcp_recvmsg") {
// The process which receives a tcp message
//
// Arguments:
-// size - number of bytes received
+// size - number of bytes received or
+// error code if an error occurred.
//
probe tcp.recvmsg.return = kernel.function("tcp_recvmsg").return {
size = $return