diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-19 00:29:47 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-19 01:30:17 +0000 |
commit | 939abdfed71349df87712559553593dc95f406c5 (patch) | |
tree | c30d6b5b2712055e107a0099033bc7b533f94c8d | |
parent | 313a04bd35534a6cd024149d9f2c9b9487f08165 (diff) | |
download | cmogstored-939abdfed71349df87712559553593dc95f406c5.tar.gz |
tapset: rename http_request.stp -> all.stp
This tapset will contain every probe point and acts as a check/documentation for extracting useful probes.
-rw-r--r-- | tapset/all.stp (renamed from tapset/http_request.stp) | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tapset/http_request.stp b/tapset/all.stp index ca0b85c..600c07a 100644 --- a/tapset/http_request.stp +++ b/tapset/all.stp @@ -1,3 +1,9 @@ +/* + * This is an extremely detailed tapset for capturing all supported probe + * points in the current version of cmogstored. It likely contains too much + * information to be useful, extracting relevant probes is recommended. + */ + /* keyed by: [pid(),fd] */ global cmogstored_http_req_begin; global cmogstored_http_pipelined; @@ -98,12 +104,26 @@ probe process("cmogstored").mark("write_buffered") { pid(), $fd, $len); } +/* signals a client is making us reallocate on large requests */ 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); } +/* signals a client is making us reallocate on large requests */ 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); } + +/* this signals a client is trickling requests to us */ +probe process("cmogstored").function("http_parse_continue") { + fd = @cast($mfd, "struct mog_fd")->fd; + printf("% 6d % 6d http_parse_continue %lu\n", pid(), fd, $buf_len); +} + +/* this signals a client is trickling requests to us */ +probe process("cmogstored").function("mgmt_parse_continue") { + fd = @cast($mfd, "struct mog_fd")->fd; + printf("% 6d % 6d mgmt_parse_continue %lu\n", pid(), fd, $buf_len); +} |