]> git.cworth.org Git - apitrace/commitdiff
Update glxtrace.so path in docs.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 3 Nov 2011 14:32:45 +0000 (14:32 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 3 Nov 2011 14:33:17 +0000 (14:33 +0000)
README.markdown

index 4954053d85d44f03b846e146fb538b7ee87577c4..d7720ac221ec5ccfbe6f38f838c44b6bd8e43808 100644 (file)
@@ -71,7 +71,7 @@ Tracing manually
 
 Run the application you want to trace as
 
-     LD_PRELOAD=/path/to/glxtrace.so /path/to/application
+     LD_PRELOAD=/path/to/apitrace/wrappers/glxtrace.so /path/to/application
 
 and it will generate a trace named `application.trace` in the current
 directory.  You can specify the written trace filename by setting the
@@ -86,10 +86,10 @@ segfault when trying to write to them.  For these applications it is possible
 to trace by using `glxtrace.so` as an ordinary `libGL.so` and injecting into
 `LD_LIBRARY_PATH`:
 
-    ln -s glxtrace.so libGL.so
-    ln -s glxtrace.so libGL.so.1
-    ln -s glxtrace.so libGL.so.1.2
-    export LD_LIBRARY_PATH=/path/to/directory/where/glxtrace/is:$LD_LIBRARY_PATH
+    ln -s glxtrace.so wrappers/libGL.so
+    ln -s glxtrace.so wrappers/libGL.so.1
+    ln -s glxtrace.so wrappers/libGL.so.1.2
+    export LD_LIBRARY_PATH=/path/to/apitrace/wrappers:$LD_LIBRARY_PATH
     export TRACE_LIBGL=/path/to/real/libGL.so.1
     /path/to/application