Mercurial > hg > nginx-site
view xml/en/docs/ngx_google_perftools_module.xml @ 2060:237b67ef69a6
Improved win32 build instructions.
Added "--with-openssl-opt=no-asm" argument which is required since
OpenSSL 1.0.2, as OpenSSL started to use assembler by default in 1.0.0 and
then broke builds with MASM in OpenSSL 1.0.2 (ticket #1396).
While here, added "--with-debug", added missing "--http-scgi-temp-path" and
"--http-uwsgi-temp-path", updated OpenSSL to 1.0.2l, switched to slightly
more readable one-argument-per-line style in configure example, added
indentation to continuation lines, removed useless "--builddir=objs" argument
("objs" is the default), and removed useless "-f objs/Makefile" argument
in nmake (nginx generates appropriate Makefile in the current directory).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 17 Oct 2017 17:57:36 +0300 |
parents | 9463f1412255 |
children | 16bad57a412a |
line wrap: on
line source
<?xml version="1.0"?> <!-- Copyright (C) Nginx, Inc. --> <!DOCTYPE module SYSTEM "../../../dtd/module.dtd"> <module name="Module ngx_google_perftools_module" link="/en/docs/ngx_google_perftools_module.html" lang="en" rev="1"> <section id="summary"> <para> The <literal>ngx_google_perftoos_module</literal> module (0.6.29) enables profiling of nginx worker processes using <link url="https://github.com/gperftools/gperftools">Google Performance Tools</link>. The module is intended for nginx developers. </para> <para> This module is not built by default, it should be enabled with the <literal>--with-google_perftools_module</literal> configuration parameter. <note> This module requires the <link url="https://github.com/gperftools/gperftools">gperftools</link> library. </note> </para> </section> <section id="example" name="Example Configuration"> <para> <example> google_perftools_profiles /path/to/profile; </example> Profiles will be stored as <literal>/path/to/profile.<worker_pid></literal>. </para> </section> <section id="directives" name="Directives"> <directive name="google_perftools_profiles"> <syntax><value>file</value></syntax> <default/> <context>main</context> <para> Sets a file name that keeps profiling information of nginx worker process. The ID of the worker process is always a part of the file name and is appended to the end of the file name, after a dot. </para> </directive> </section> </module>