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
|