GooglePerftools
This module enables Google Performance Tools profiling for workers. This module appeared in nginx version 0.6.29.
By default the module is not built, it is necessary to enable its build with
./configure --with-google_perftools_module
at compilation time.
Example
google_perftools_profiles /path/to/profile;
Profiles will be stored as /path/to/profile.<worker_pid>
指令
google_perftools_profiles
syntax: google_perftools_profiles path
default: none
Directive specifies the base filename of profiles collected by Google Perftools profiler. The workers PIDs will be appended to the specified base filename.