diff options
| author | Steve Dickson <steved@redhat.com> | 2011-06-01 19:04:37 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2011-06-01 19:04:37 -0400 |
| commit | 630fdf00077d7b63c55141dcae618017748ac72b (patch) | |
| tree | eda4ffd3e0f2dd2e8d274a56da9f4031060ca6bb /net | |
| parent | 178b38cbd6e97e5d70cb58f32bf5853e73af4cf5 (diff) | |
| download | systemtap-630fdf00077d7b63c55141dcae618017748ac72b.tar.gz systemtap-630fdf00077d7b63c55141dcae618017748ac72b.tar.xz systemtap-630fdf00077d7b63c55141dcae618017748ac72b.zip | |
Updated the probs
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'net')
| -rw-r--r-- | net/tcp_connect.stp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/tcp_connect.stp b/net/tcp_connect.stp index 4763bb5..8364b14 100644 --- a/net/tcp_connect.stp +++ b/net/tcp_connect.stp @@ -1,7 +1,19 @@ +/* probe kernel.function("tcp_v4_connect").return { if (isinstr(execname(), "rpc.nfsd")) printf("%s: tcp_v4_connect: return %d (%s)\n", $return, errno_str($return)); } +*/ +probe kernel.function("tcp_sendmsg").return { + if ($return < 0 && $return != -11) + printf("%s(%d): __sock_sendmsg: sock %p return %d (%s)\n", + execname(), pid(), $sock, $return, errno_str($return)); +} +probe kernel.function("sk_stream_wait_connect").return { + if ($return < 0 && $return != -11) + printf("%s(%d): sk_stream_wait_connect: sk %p return %d (%s)\n", + execname(), pid(), $sk, $return, errno_str($return)); +} probe begin { log("starting tcp_v4_connect probe") } probe end { log("tcp_v4_connect inet_bind probe") } |
