1
0
mirror of https://github.com/openresty/openresty synced 2024-11-09 18:35:51 +01:00

fixed the "ngx_request_t" argument type issue in the dtrace provider for nginx.

This commit is contained in:
agentzh (章亦春) 2012-08-12 23:24:16 -07:00
parent 8faebfd44f
commit 52cf79ee28

@ -488,7 +488,7 @@ index 0000000..fccea2b
+ +
diff --git a/src/dtrace/nginx_provider.d b/src/dtrace/nginx_provider.d diff --git a/src/dtrace/nginx_provider.d b/src/dtrace/nginx_provider.d
new file mode 100644 new file mode 100644
index 0000000..6fcc994 index 0000000..483ac69
--- /dev/null --- /dev/null
+++ b/src/dtrace/nginx_provider.d +++ b/src/dtrace/nginx_provider.d
@@ -0,0 +1,32 @@ @@ -0,0 +1,32 @@
@ -511,10 +511,10 @@ index 0000000..6fcc994
+ probe http__subrequest__post__start(ngx_http_request_t *r, ngx_int_t rc); + probe http__subrequest__post__start(ngx_http_request_t *r, ngx_int_t rc);
+ probe http__subrequest__post__done(ngx_http_request_t *r, ngx_int_t rc); + probe http__subrequest__post__done(ngx_http_request_t *r, ngx_int_t rc);
+ probe http__module__post__config(ngx_module_t *m); + probe http__module__post__config(ngx_module_t *m);
+ probe http__read__body__abort(ngx_request_t *r, char *reason); + probe http__read__body__abort(ngx_http_request_t *r, char *reason);
+ probe http__read__body__done(ngx_request_t *r); + probe http__read__body__done(ngx_http_request_t *r);
+ probe http__read__req__line__done(ngx_request_t *r); + probe http__read__req__line__done(ngx_http_request_t *r);
+ probe http__read__req__header__done(ngx_request_t *r, ngx_table_elt_t *h); + probe http__read__req__header__done(ngx_http_request_t *r, ngx_table_elt_t *h);
+}; +};
+ +
+ +