diff options
| author | Steve Dickson <steved@redhat.com> | 2011-09-06 14:55:36 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2011-09-06 14:55:36 -0400 |
| commit | bc2b0fb722a32ff1fbadc40a9f73dc0eb75935e6 (patch) | |
| tree | 1ffe477b109bf8662c6b81060379664f4e416743 /sunrpc | |
| parent | c65778b45aec63b542fa3aa84a4da0b605e65790 (diff) | |
| download | systemtap-bc2b0fb722a32ff1fbadc40a9f73dc0eb75935e6.tar.gz systemtap-bc2b0fb722a32ff1fbadc40a9f73dc0eb75935e6.tar.xz systemtap-bc2b0fb722a32ff1fbadc40a9f73dc0eb75935e6.zip | |
Added some new routines
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'sunrpc')
| -rw-r--r-- | sunrpc/xprt_copy.stp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sunrpc/xprt_copy.stp b/sunrpc/xprt_copy.stp new file mode 100644 index 0000000..fbb5fff --- /dev/null +++ b/sunrpc/xprt_copy.stp @@ -0,0 +1,17 @@ +global nbytes + +probe module("sunrpc").function("xdr_inline_decode") +{ + nbytes = $nbytes; +} +probe module("sunrpc").function("xdr_inline_decode").return +{ + printf("xdr_inline_decode: bytes %d return %p\n", nbytes, $return); +} +probe module("sunrpc").function("xdr_copy_to_scratch").return +{ + printf("xdr_copy_to_scratch: bytes %d return %p\n", nbytes, $return); +} + +probe begin { log("starting probe") } +probe end { log("ending probe") } |
