Thor Henning Amdahl <[EMAIL PROTECTED]> writes:

> I am trying to profile Mesa using gprof with no luck. To configure I use
> 
> ./configure --without-svga --enable-profile
> 
> I can see that all files get compiled with the -pg switch as they 
> should. When I try to profile with my own application I do not get
> any profile information at all. 
> 
> If I also compile my application with profiling I get profile
> information 
> for that, but not for Mesa.

If you aren't already, try linking against the static (.a) library.

If you only need basic profiling info and want to see the time your
program spends in shared libraries, try this:

http://userweb.interactive.net/~joshv/soprof-0.0.tar.gz



_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to