cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob 8b967c3addc2b5327c0d984fda994b083337be20 1266 bytes (raw)
$ git show st-wip-broken:probes.d	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
/*
 * note: probe names are upper-case in the source and prefixed by provider
 * So we'll have trace points like:
 *  CMOGSTORED_HTTP_RDERR for the "http_rderr" trace point
 *
 * Warning: probe points are currently an unstable interface and likely
 * to change in 2013
 */
provider cmogstored {
	probe http_rderr(int fd, size_t buf_len, int err);
	probe http_rdclose(int fd, size_t buf_len);
	probe http_accepted(int fd, const char *host, const char *port,
				const char *listen_addr);

	probe http_req_begin(int fd, bool pipelined);

	probe http_parse_continue(int fd, size_t buf_len);
	probe http_rbuf_grow(int fd, size_t buf_len);
	probe http_req_start(int fd, const char *method, const char *path);
	probe http_res_start(int fd, const char *status);
	probe http_client_close(int fd, size_t buf_len);
	probe http_req_end();

	probe ioq_blocked(int fd);
	probe ioq_reschedule(int fd);
	probe ioq_unblocked(int fd);

	probe mgmt_accepted(int fd, const char *host, const char *port,
				const char *listen_addr);
	probe mgmt_parse_continue(int fd, size_t buf_len);
	probe mgmt_rbuf_grow(int fd, size_t buf_len);
	probe mgmt_rderr(int fd, size_t buf_len, int err);
	probe mgmt_client_close(int fd, size_t buf_len);

	probe write_buffered(int fd, size_t buf_len);
};

git clone https://yhbt.net/cmogstored.git