diff options
-rw-r--r-- | probes.d | 3 | ||||
-rw-r--r-- | tapset/http_request.stp | 10 |
2 files changed, 13 insertions, 0 deletions
@@ -27,4 +27,7 @@ provider cmogstored { probe mgmt_rdclose(struct mog_fd *mfd, size_t buf_len); probe write_buffered(); + + /* DWARF: mgmt_rbuf_grow */ + /* DWARF: http_rbuf_grow */ }; 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); +} |