On 03/14/12 09:56 PM, Peter Hutterer wrote:
> For driver debugging, it is helpful to know whether the driver has actually
> submitted an event to the server. dtrace hooks can help here.
> 

v2 didn't quite build on Solaris - I needed to apply the changes attached
to make that happen.

Otherwise, looking good to me - thanks for the doc updates!

-- 
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
diff --git a/dix/getevents.c b/dix/getevents.c
index 3c27aef..81043b3 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -69,6 +69,8 @@
 #include "listdev.h" /* for sizing up DeviceClassesChangedEvent */
 
 #if XSERVER_DTRACE
+#include <sys/types.h>
+typedef const char *string;
 #include <Xserver-dtrace.h>
 #endif
 
diff --git a/doc/dtrace/Xserver-DTrace.xml b/doc/dtrace/Xserver-DTrace.xml
index 2871bb3..91ca254 100644
--- a/doc/dtrace/Xserver-DTrace.xml
+++ b/doc/dtrace/Xserver-DTrace.xml
@@ -83,7 +83,7 @@ DEALINGS IN THE SOFTWARE.
 
     <table id="Probes_and_their_arguments">
       <title>Probes and their arguments</title>
-      <tgroup cols='7'>
+      <tgroup cols='9'>
        <colspec colname="probe" colwidth="2*"/>
        <colspec colname="desc" colwidth="3*"/>
        <colspec colname="arg0" colwidth="1*"/>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to