On Tue, 11 Sep 2012 15:07:41 +0200, Paul Menzel <paulepanter at users.sourceforge.net> wrote: > Am Dienstag, den 11.09.2012, 14:55 +0200 schrieb Michel D??nzer: > > I'd focus on profiling the X server, making sure the profiles show > > symbols, ideally with call graphs. sysprof or perf might work better for > > this than oprofile. > > Thanks. Lucky me, that this is not needed now and I can postpone how to > figure out how to start X that way under Debian with GDM.
For future reference, sysprof and perf can be used to perform system wide profiling - that is you can launch them after starting the task you need to profile. For sysprof this is its default mode, and for perf you need 'perf record -a' A quick 'sudo perf top' is always a useful first step. For best results, make sure you have debugging symbols and frame pointers. -Chris -- Chris Wilson, Intel Open Source Technology Centre