diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-03-26 11:27:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-03-26 11:27:32 +0000 |
commit | b45498c3de7458a366810bc27de537794e070ab4 (patch) | |
tree | 3b443380ac1437d965a39ca3f05e801e41c460e6 /src/misc/ngx_google_perftools_module.c | |
parent | aed1ac1e68b2b643a1a37b4fa2dda4c469e838ac (diff) | |
download | nginx-b45498c3de7458a366810bc27de537794e070ab4.tar.gz nginx-b45498c3de7458a366810bc27de537794e070ab4.zip |
fix a comment and a style fix
Diffstat (limited to 'src/misc/ngx_google_perftools_module.c')
-rw-r--r-- | src/misc/ngx_google_perftools_module.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/misc/ngx_google_perftools_module.c b/src/misc/ngx_google_perftools_module.c index 66c3a1f98..a36220e80 100644 --- a/src/misc/ngx_google_perftools_module.c +++ b/src/misc/ngx_google_perftools_module.c @@ -8,7 +8,7 @@ #include <ngx_core.h> /* - * declare Profiler here interface because + * declare Profiler interface here because * <google/profiler.h> is C++ header file */ @@ -101,7 +101,6 @@ ngx_google_perftools_worker(ngx_cycle_t *cycle) } if (getenv("CPUPROFILE")) { - /* disable inherited Profiler enabled in master process */ ProfilerStop(); } @@ -109,7 +108,6 @@ ngx_google_perftools_worker(ngx_cycle_t *cycle) ngx_sprintf(profile, "%V.%d%Z", &gptcf->profiles, ngx_pid); if (ProfilerStart(profile)) { - /* start ITIMER_PROF timer */ ProfilerRegisterThread(); |