comparison xml/en/docs/nginx_dtrace_pid_provider.xml @ 3057:cfdc1ba95196

Free nginx: removed link to the example DTrace script. It's long-obsolete due to changes in nginx source code. Further, it does not really work, as DTrace has its own idea about alignment and representation of bit fields.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 14 Feb 2024 20:07:54 +0300
parents 438e5c551d67
children
comparison
equal deleted inserted replaced
3056:a6edd62b60c1 3057:cfdc1ba95196
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
8 8
9 <article name="Debugging nginx with DTrace pid provider" 9 <article name="Debugging nginx with DTrace pid provider"
10 link="/en/docs/nginx_dtrace_pid_provider.html" 10 link="/en/docs/nginx_dtrace_pid_provider.html"
11 lang="en" 11 lang="en"
12 rev="4" 12 rev="5"
13 toc="no"> 13 toc="no">
14 14
15 <section> 15 <section>
16 16
17 <para> 17 <para>
132 <literal>ngx_http_headers_out_t</literal>), 132 <literal>ngx_http_headers_out_t</literal>),
133 declarations of callback functions and definitions of constants. 133 declarations of callback functions and definitions of constants.
134 </para> 134 </para>
135 135
136 <para> 136 <para>
137 The final DTrace script can be downloaded from 137 The following example shows the output of running the resulting script:
138 <link url="http://nginx.org/download/trace_process_request.d">here</link>.
139 </para>
140
141 <para>
142 The following example shows the output of running this script:
143 138
144 <programlisting> 139 <programlisting>
145 # dtrace -C -I ./objs -s trace_process_request.d -p 4848 140 # dtrace -C -I ./objs -s trace_process_request.d -p 4848
146 dtrace: script 'trace_process_request.d' matched 1 probe 141 dtrace: script 'trace_process_request.d' matched 1 probe
147 CPU ID FUNCTION:NAME 142 CPU ID FUNCTION:NAME