I needed trace client activity on a Solaris 10 system
with an Xorg that I have built.

After looking at the dispatch code I see that there
are dtrace hooks in the exact places that I was thinking
of adding debug output.  Cool, but I need a bit of a clue
as to how to use them.

My first attempt was this "D" script:

   Xserver16787:Xorg:Dispatch:request-start
   {
      printf("%s\n", arg0);
   }

but dtrace did not like that, maybe I need "stringof(arg0)"?

Does anyone have working dtrace scripts?

Pat
---
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to