From: Jeffrey Creem <jeff@thecreems.com>
Subject: Re: GNAT profiling
Date: Wed, 01 Mar 2006 09:19:26 -0500
Date: 2006-03-01T09:19:26-05:00 [thread overview]
Message-ID: <b4ngd3-ra6.ln1@newserver.thecreems.com> (raw)
In-Reply-To: <440559E8.7070209@mailinator.com>
Alex R. Mosteo wrote:
> Ok, after revising some old threads, I see there was a consensus in that
> (at least linux) gprof doesn't work with multitasking programs, and
> there were reports that it neither does with single-task programs.
>
> I'm thus musing what could be a (preferible free) option for code
> profiling. I've successfully used valgrind for memory profiling, but for
> now I'm DoD with this other aspect.
>
> Any suggestions welcome!
I've certainly used gprof on single threaded programs and it worked fine
(mostly under Solaris, but still quite a bit under Linux).
One issue has been that for some versions of distribution shipped GCCs
had pretty broken/bad or incompatible Ada/debug/gprof support.
I know with CentOS 4 things are pretty broken.
Might be interesting to look into oprofile support (might require a
kernel rebuild).
next prev parent reply other threads:[~2006-03-01 14:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 8:23 GNAT profiling Alex R. Mosteo
2006-03-01 14:10 ` ldb
2006-03-01 14:19 ` Jeffrey Creem [this message]
2006-03-01 14:48 ` Alex R. Mosteo
2006-03-01 15:07 ` ldb
2006-03-02 16:59 ` Jean-Pierre Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox