>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Wed, May 29, 2002 at 04:53:56PM +0200, Jean-Marc Lasgouttes
John> wrote:
>> It should. Note that there is a lot of time needed to load the
>> fonts from the X server that gprof does not take in account. I
>> tried to install the gprof-aware libc packages, but I do not know
>> how to use this.

John> export LD_PROFILE=libX11.so ./lyx blah.lyx sprof libX11.so
John> /var/tmp/*.profile

John> should do it (unless your sprof has a bug, in which case you
John> will need to use LD_PRELOAD to load the libraries libX11 depends
John> upon first, otherwise sprof's dlopen() will fail).

John> Of course, you'll need a profile version of libX11

I almost forgot you were our profiler guru :)

This would  be useful to actually profile libX11, no? All I want is
see the time spent in loading fonts from the server.

JMarc

Reply via email to