diff options
author | Jakob Bornecrantz <[email protected]> | 2009-06-01 11:19:55 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-06-01 11:19:56 +0100 |
commit | 01fa34cb98d9ea6008c7108b6112348e278864f4 (patch) | |
tree | 65d9c60496942630978d93e044c4caa342589848 /src/gallium/drivers/trace/README | |
parent | dfa4ebcbcc9c7e9e7562f73a4ddc367756623e5e (diff) |
trace/rbug: Add rbug integration for remote debugging
Diffstat (limited to 'src/gallium/drivers/trace/README')
-rw-r--r-- | src/gallium/drivers/trace/README | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/README b/src/gallium/drivers/trace/README index 73dce20372e..1000c31e49a 100644 --- a/src/gallium/drivers/trace/README +++ b/src/gallium/drivers/trace/README @@ -3,7 +3,8 @@ = About = -This directory contains a Gallium3D pipe driver which traces all incoming calls. +This directory contains a Gallium3D debugger pipe driver. +It can traces all incoming calls and/or provide remote debugging functionality. = Build Instructions = @@ -23,7 +24,9 @@ ensure the right libGL.so is being picked by doing ldd progs/trivial/tri -and then try running +== Traceing == + +For traceing then do export XMESA_TRACE=y GALLIUM_TRACE=tri.trace progs/trivial/tri @@ -32,6 +35,16 @@ which should create a tri.trace file, which is an XML file. You can view copying trace.xsl to the same directory, and opening with a XSLT capable browser such as Firefox or Internet Explorer. +== Remote debugging == + +For remote debugging + + export XMESA_TRACE=y + GALLIUM_RBUG=true progs/trivial/tri + +which should open gallium remote debugging session. While the program is running +you can launch the small remote debugging application from progs/rbug. More +information is in that directory. = Integrating = @@ -62,3 +75,4 @@ trace_screen with real_screen when creating them. -- Jose Fonseca <[email protected]> +Jakob Bornecrantz <[email protected]> |