Pat Kane wrote:
> 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?

http://people.freedesktop.org/~alanc/dtrace/ has documentation and
sample scripts.

-- 
        -Alan Coopersmith-           [email protected]
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to