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

List:       freedesktop-xorg
Subject:    Re: Track xorg events
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2014-03-14 4:11:31
Message-ID: 20140314041131.GA2494 () yabbi ! redhat ! com
[Download RAW message or body]

On Thu, Mar 13, 2014 at 10:05:16PM -0500, Hongze Zhao wrote:
> I wonder if there is a method or existing tool to track every xorg events
> or messages to the xorg instance running in a local machine?

if for debugging purposes you can hook into the dtrace events.
http://www.x.org/releases/X11R7.6/doc/xorg-server/Xserver-DTrace.html

if you're on linux you can use systemtap for this, but I don't think there's 
any good documentation on how to use the above probes with systemtap.
 
Cheers,
   Peter




_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

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