diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-18 23:58:23 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-19 01:30:17 +0000 |
commit | 00d234c6f9362c11938f3b67c03bf208c7638eca (patch) | |
tree | caa4624ae46728d4e9d678575aa93c1af5475b37 /tapset/http_request.stp | |
parent | 4c6a7474a281451b1ef57f686b9b21cbb8216b0d (diff) | |
download | cmogstored-00d234c6f9362c11938f3b67c03bf208c7638eca.tar.gz |
Growing the rbufs should be uncommon, but it should set off alarms if it happens too often.
Diffstat (limited to 'tapset/http_request.stp')
-rw-r--r-- | tapset/http_request.stp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tapset/http_request.stp b/tapset/http_request.stp index ceac883..ca0b85c 100644 --- a/tapset/http_request.stp +++ b/tapset/http_request.stp @@ -97,3 +97,13 @@ probe process("cmogstored").mark("write_buffered") { printf("% 6d % 6d blocked with %lu bytes to write\n", pid(), $fd, $len); } + +probe process("cmogstored").function("http_rbuf_grow") { + fd = @cast($mfd, "struct mog_fd")->fd; + printf("% 6d % 6d http_rbuf_grow %lu\n", pid(), fd, $buf_len); +} + +probe process("cmogstored").function("mgmt_rbuf_grow") { + fd = @cast($mfd, "struct mog_fd")->fd; + printf("% 6d % 6d mgmt_rbuf_grow %lu\n", pid(), fd, $buf_len); +} |