Trying to use gprof on Chromium?

"James Supancic" <[email protected]> Tue, 15 Aug 2006 23:04:14 -0700
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
I want to use gprof to get a overview of how the CPU consumption is
distributed in my setup.

I added
CFLAGS+=-pg
CXXFLAGS+=-pg
LDFLAGS+=-lc_p
to the Makefile right after "include $(TOP)arch.mk", and then make
clean && make. Everything ran fine, but I got no gmon.out file.

I also added to the begining of options.mk
CFLAGS+=-pg
CXXFLAGS+=-pg
and got nothing as well.

What is the best way to profile Chromium for CPU usage? Will gprof work? How?

Thank you for your time,
James Steven Supancic III

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642