Re: building async-calls

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 17 Dec 2007 10:54:01 +0900

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
Received on Sun Dec 16 2007 - 18:47:10 MST

This archive was generated by hypermail pre-2.1.9 : Mon Dec 31 2007 - 12:00:03 MST