[dev] profiling nginx

Igor Sysoev is at rambler-co.ru
Wed Mar 5 22:15:17 MSK 2008


On Wed, Mar 05, 2008 at 08:08:43PM +0100, Manlio Perillo wrote:

> I need to profile nginx, how should be done?
> 
> I have modified the Makefile, by adding the -pg CC flag, but the 
> profiling file is not generated.

Try --with-cc-opt="-pg" --with-ld-opt="-pg".


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list