# HG changeset patch # User Yaroslav Zhuravlev # Date 1480960906 -10800 # Node ID 9463f1412255c9d24802dcd51fe4759b8268e575 # Parent 8eae6bc1ea2233be20f6673e0c4a6730ae32968a Documented ngx_google_perftools_module. diff -r 8eae6bc1ea22 -r 9463f1412255 xml/en/GNUmakefile --- a/xml/en/GNUmakefile Tue Dec 06 15:30:08 2016 +0300 +++ b/xml/en/GNUmakefile Mon Dec 05 21:01:46 2016 +0300 @@ -113,6 +113,7 @@ stream/ngx_stream_ssl_preread_module \ stream/ngx_stream_upstream_module \ stream/stream_processing \ + ngx_google_perftools_module \ TOP = \ download \ diff -r 8eae6bc1ea22 -r 9463f1412255 xml/en/docs/index.xml --- a/xml/en/docs/index.xml Tue Dec 06 15:30:08 2016 +0300 +++ b/xml/en/docs/index.xml Mon Dec 05 21:01:46 2016 +0300 @@ -8,7 +8,7 @@
@@ -585,6 +585,17 @@ + + + + + +ngx_google_perftools_module + + + + +
diff -r 8eae6bc1ea22 -r 9463f1412255 xml/en/docs/ngx_google_perftools_module.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/en/docs/ngx_google_perftools_module.xml Mon Dec 05 21:01:46 2016 +0300 @@ -0,0 +1,67 @@ + + + + + + + + +
+ + +The ngx_google_perftoos_module module (0.6.29) enables +profiling of nginx worker processes using +Google Performance Tools. +The module is intended for nginx developers. + + + +This module is not built by default, it should be enabled with the +--with-google_perftools_module +configuration parameter. + +This module requires the +gperftools library. + + + +
+ + +
+ + + +google_perftools_profiles /path/to/profile; + +Profiles will be stored as +/path/to/profile.<worker_pid>. + + +
+ + +
+ + +file + +main + + +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. + + + + +
+ +
diff -r 8eae6bc1ea22 -r 9463f1412255 xml/ru/GNUmakefile --- a/xml/ru/GNUmakefile Tue Dec 06 15:30:08 2016 +0300 +++ b/xml/ru/GNUmakefile Mon Dec 05 21:01:46 2016 +0300 @@ -102,6 +102,7 @@ stream/ngx_stream_ssl_preread_module \ stream/ngx_stream_upstream_module \ stream/stream_processing \ + ngx_google_perftools_module \ TOP = \ download \ diff -r 8eae6bc1ea22 -r 9463f1412255 xml/ru/docs/index.xml --- a/xml/ru/docs/index.xml Tue Dec 06 15:30:08 2016 +0300 +++ b/xml/ru/docs/index.xml Mon Dec 05 21:01:46 2016 +0300 @@ -8,7 +8,7 @@
@@ -589,6 +589,17 @@ + + + + + +ngx_google_perftools_module + + + + +
diff -r 8eae6bc1ea22 -r 9463f1412255 xml/ru/docs/ngx_google_perftools_module.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/ru/docs/ngx_google_perftools_module.xml Mon Dec 05 21:01:46 2016 +0300 @@ -0,0 +1,67 @@ + + + + + + + + +
+ + +Модуль ngx_google_perftoos_module (0.6.29) включает +поддержку профилирования рабочих процессов nginx при помощи +Google Performance Tools. +Модуль предназначен для разработчиков nginx. + + + +По умолчанию этот модуль не собирается, его сборку необходимо +разрешить с помощью конфигурационного параметра +--with-google_perftools_module. + +Для сборки и работы этого модуля нужна библиотека +gperftools. + + + +
+ + +
+ + + +google_perftools_profiles /path/to/profile; + +Профили будут сохраняться как +/path/to/profile.<worker_pid>. + + +
+ + +
+ + +файл + +main + + +Задаёт имя файла, который хранит информацию о профилировании +рабочего процесса nginx. +Идентификатор рабочего процесса всегда является частью имени файла +и прибавляется в конце имени после точки. + + + + +
+ +