# HG changeset patch # User Igor Sysoev # Date 1269602852 0 # Node ID eb8660fecc12e7137b5182a7e191ef3526dc3845 # Parent fb0b7450c2e8ea1fb4728415d82b72cfea96fbaf fix a comment and a style fix diff --git a/src/misc/ngx_google_perftools_module.c b/src/misc/ngx_google_perftools_module.c --- a/src/misc/ngx_google_perftools_module.c +++ b/src/misc/ngx_google_perftools_module.c @@ -8,7 +8,7 @@ #include /* - * declare Profiler here interface because + * declare Profiler interface here because * is C++ header file */ @@ -101,7 +101,6 @@ ngx_google_perftools_worker(ngx_cycle_t } if (getenv("CPUPROFILE")) { - /* disable inherited Profiler enabled in master process */ ProfilerStop(); } @@ -109,7 +108,6 @@ ngx_google_perftools_worker(ngx_cycle_t ngx_sprintf(profile, "%V.%d%Z", &gptcf->profiles, ngx_pid); if (ProfilerStart(profile)) { - /* start ITIMER_PROF timer */ ProfilerRegisterThread();