Mercurial > hg > nginx-site
comparison xml/en/docs/nginx_dtrace_pid_provider.xml @ 733:7f8e85a50845
Renamed OX X to Mac OS X for uniformity.
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Tue, 16 Oct 2012 12:55:23 +0000 |
parents | 25584379a968 |
children | f024ac0ec5c7 |
comparison
equal
deleted
inserted
replaced
732:cea4732f6843 | 733:7f8e85a50845 |
---|---|
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="1" | 12 rev="2" |
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, OS X) is a useful tool to | 27 DTrace pid provider (available on Solaris, Mac OS X) 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 |