[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: xorg tracing requests
From:       Peter Hutterer <mailinglists () who-t ! net>
Date:       2007-05-29 4:01:07
Message-ID: 465BA2B3.2050301 () who-t ! net
[Download RAW message or body]

Nicola Manica wrote:
> experiments I need to trace the requests which arrive to the X server. I
> need to know where is the right point when the server schedule the requests.

Depending on what exactly you need to do, you might be better off just 
using i.e. xmond or xscope. You won't need to modify the server source then.
There's also an xcb based one in the works, haven't tried it yet.
http://plash.beasts.org/wiki/X11ProxySpike


> [...]
> Is it the correct way to trace the requests?

ReadRequestFromClient() in os/io.c, that should cover pretty much 
everything.

and AllocNewConnection() of course.

Cheers,
   Peter

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic