comparison xml/en/docs/nginx_dtrace_pid_provider.xml @ 1911:f024ac0ec5c7

Apple rebranded Mac OS X to macOS.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 17 Feb 2017 17:58:53 +0300
parents 7f8e85a50845
children 438e5c551d67
comparison
equal deleted inserted replaced
1910:41cf2c2d8c5c 1911:f024ac0ec5c7
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="2" 12 rev="3"
13 toc="no"> 13 toc="no">
14 14
15 <section> 15 <section>
16 16
17 <para> 17 <para>
22 <para> 22 <para>
23 Although nginx built with the <link doc="debugging_log.xml">--with-debug</link> 23 Although nginx built with the <link doc="debugging_log.xml">--with-debug</link>
24 option already provides a lot of information about request processing, 24 option already provides a lot of information about request processing,
25 it is sometimes desirable to trace particular parts of code path more 25 it is sometimes desirable to trace particular parts of code path more
26 thoroughly and at the same time omit the rest of debugging output. 26 thoroughly and at the same time omit the rest of debugging output.
27 DTrace pid provider (available on Solaris, Mac OS X) is a useful tool to 27 DTrace pid provider (available on Solaris, macOS) is a useful tool to
28 explore userland program’s internals, since it doesn’t require any code 28 explore userland program’s internals, since it doesn’t require any code
29 changes and it can help with the task. 29 changes and it can help with the task.
30 A simple DTrace script to trace and print nginx function calls 30 A simple DTrace script to trace and print nginx function calls
31 may look like this: 31 may look like this:
32 32