Date: Sun, 25 May 2003 21:36:05 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: freebsd-ports@freebsd.org Subject: Re: Debugging X11 Server Message-ID: <20030525113605.GA41726@cirb503493.alcatel.com.au> In-Reply-To: <20030525045430.GA25151@rot13.obsecurity.org> References: <20030525045021.GA41260@cirb503493.alcatel.com.au> <1053840795.731.212.camel@leguin>
next in thread | previous in thread | raw e-mail | index | archive | help
Getting profiling to work with Xfree86 server: On Sat, May 24, 2003 at 09:54:30PM -0700, Kris Kennaway wrote: >You can try adding the missing symbols to xf86syms.c - XFree86 uses >its own runtime linker for modules. Thanks for that. I think I've bumped into xf86sym.c previously when tracking down a problem. Unfortunately, it's not immediately obvious (to me) how to include a reference to '.mcount' in C code. I could have studied the gcc documentation but Eric came up with an alternative: On Sat, May 24, 2003 at 10:33:15PM -0700, Eric Anholt wrote: >You could compile all the modules into the server by adding "#define >DoLoadableServer NO" to your host.conf when you compile XFree86-4-Server >(see scripts/configure for other defines that are added). This almost worked. It resulted in an unresolved 'ELO2300' which I fixed by removing elo2300 from XInputDrivers (I don't need it and this was quicker than working out why the reference was generated). Thanks to both of you - profiling now works. I've located the cause of the poor performance, all that's left is working out how to fix it. Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030525113605.GA41726>