On Mon, Dec 17, 2007, Amos Jeffries wrote:

> 
> Adrian, I've tried to do some profiling myself recently but am stuck
> getting those nice stats you post out of it. (Last time I did profiling
> was in VisualStudio).
> 
> Could you send me or the list a how-to on using the cpu-profiling feature,
> from enable to viewing stats please?

* install linux
* install oprofile
* read the docs
* then, find the wiki page outlining how its done. :)

I've been meaning to write a shim or two to overload the -pg feature in GCC -
it'll call your function enter/exit stubs with some stack information -
so I can generate call graphs inside Squid without having to do the inaccurate
gprof time profiling.



Adrian

Reply via email to