From 78a3caac7b9026c824ecc33bb4fb73b84ecede42 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Fri, 18 Mar 2011 09:47:12 -0400 Subject: Added a couple more probs Signed-off-by: Steve Dickson --- net/tcp_connect.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 net/tcp_connect.stp (limited to 'net') diff --git a/net/tcp_connect.stp b/net/tcp_connect.stp new file mode 100644 index 0000000..4763bb5 --- /dev/null +++ b/net/tcp_connect.stp @@ -0,0 +1,7 @@ +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 begin { log("starting tcp_v4_connect probe") } +probe end { log("tcp_v4_connect inet_bind probe") } -- cgit