annotate xml/ru/docs/ngx_google_perftools_module.xml @ 1851:9463f1412255

Documented ngx_google_perftools_module.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 05 Dec 2016 21:01:46 +0300
parents
children 68a4e583a7e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1851
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
1 <?xml version="1.0"?>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
2
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
3 <!--
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
4 Copyright (C) Nginx, Inc.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
5 -->
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
6
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
7 <!DOCTYPE module SYSTEM "../../../dtd/module.dtd">
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
8
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
9 <module name="Модуль ngx_google_perftools_module"
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
10 link="/ru/docs/ngx_google_perftools_module.html"
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
11 lang="ru"
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
12 rev="1">
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
13
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
14 <section id="summary">
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
15
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
16 <para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
17 Модуль <literal>ngx_google_perftoos_module</literal> (0.6.29) включает
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
18 поддержку профилирования рабочих процессов nginx при помощи
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
19 <link url="https://github.com/gperftools/gperftools">Google Performance Tools</link>.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
20 Модуль предназначен для разработчиков nginx.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
21 </para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
22
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
23 <para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
24 По умолчанию этот модуль не собирается, его сборку необходимо
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
25 разрешить с помощью конфигурационного параметра
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
26 <literal>--with-google_perftools_module</literal>.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
27 <note>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
28 Для сборки и работы этого модуля нужна библиотека
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
29 <link url="https://github.com/gperftools/gperftools">gperftools</link>.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
30 </note>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
31 </para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
32
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
33 </section>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
34
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
35
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
36 <section id="example" name="Пример конфигурации">
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
37
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
38 <para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
39 <example>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
40 google_perftools_profiles /path/to/profile;
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
41 </example>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
42 Профили будут сохраняться как
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
43 <literal>/path/to/profile.&lt;worker_pid&gt;</literal>.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
44 </para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
45
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
46 </section>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
47
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
48
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
49 <section id="directives" name="Директивы">
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
50
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
51 <directive name="google_perftools_profiles">
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
52 <syntax><value>файл</value></syntax>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
53 <default/>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
54 <context>main</context>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
55
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
56 <para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
57 Задаёт имя файла, который хранит информацию о профилировании
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
58 рабочего процесса nginx.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
59 Идентификатор рабочего процесса всегда является частью имени файла
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
60 и прибавляется в конце имени после точки.
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
61 </para>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
62
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
63 </directive>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
64
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
65 </section>
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
66
9463f1412255 Documented ngx_google_perftools_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
67 </module>