Tracing Xserver

Matthieu Herrb matthieu.herrb at laas.fr
Wed Jul 2 07:50:04 PDT 2008


Mohan Parthasarathy wrote:
> Curious, is this possible ?
> 
> thanks
> mohan
> 
> 
> On Sun, Jun 29, 2008 at 6:24 PM, Mohan Parthasarathy <suruti94 at gmail.com 
> <mailto:suruti94 at gmail.com>> wrote:
> 
>     Hi,
> 
>     Is there a way to trace the functioning of Xserver possibly at
>     different levels like Terse, Verbose, some
>     specific subsystems like DRI, EXA etc. Besides being a useful
>     debugging tool, it would also be useful
>     to understand different parts of the code interact.

the XFree86 DDX provides log functions with a verbosity level. Most 
drivers implement some DEBUG code that can be enabled to get more 
output... But all of this it not done in a coherent manner, and the 
messages may be difficult to understand by someone else than the 
original developper.

The best approach to tracing the X server would be DTrace on Solaris. 
Sun has already contributed some code  to help tracing X, and you may be 
able to improve it to analyse the specific points you're interested in.
-- 
Matthieu Herrb



More information about the xorg mailing list