Mercurial > hg > nginx-site
changeset 2746:438e5c551d67
Fixed name of the ngx_http_request_t structure in DTrace article.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 01 Jul 2021 11:27:14 +0300 |
parents | febebaf5e52f |
children | 42fb92e582db |
files | xml/en/docs/nginx_dtrace_pid_provider.xml |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/nginx_dtrace_pid_provider.xml +++ b/xml/en/docs/nginx_dtrace_pid_provider.xml @@ -9,7 +9,7 @@ <article name="Debugging nginx with DTrace pid provider" link="/en/docs/nginx_dtrace_pid_provider.html" lang="en" - rev="3" + rev="4" toc="no"> <section> @@ -74,7 +74,7 @@ pid$target::*ngx_http_process_request:en <para> It should be noted that in the example above DTrace requires some knowledge -about the <literal>ngx_http_process_request</literal> structure. +about the <literal>ngx_http_request_t</literal> structure. Unfortunately while it is possible to use a specific <literal>#include</literal> directive in the DTrace script and then pass it to a C preprocessor (with the <literal>-C</literal> flag), that doesn’t really work. @@ -115,7 +115,7 @@ frequently changed. </para> <para> -Then there’s the <literal>ngx_http_process_request_t</literal> structure that +Then there’s the <literal>ngx_http_request_t</literal> structure that contains a lot of pointers to other structures. Because these pointers are really irrelevant to this script, and because they have the same size, it is possible to just replace them with void pointers.