Re: libc/1427: gprof does not profile threads <synopsis of the problem (one li\ne)>

From: John Levon (movement@marcelothewonderpenguin.com)
Date: Thu Mar 14 2002 - 08:19:36 EST


On Thu, Mar 14, 2002 at 02:08:34AM -0500, Jakub Jelinek wrote:

> Surely don't use timer for profiling.
> Have the compiler generate profiling calls both at function entry and exit
> and use rdtsc/whatever other register your machine has (or even better
> profiling registers) to note time of that function being entered/left.

http://www710.univ-lyon1.fr/~yperret/fnccheck/

regards
john

-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:17 EST