X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=README.markdown;h=497351abe99697dc285e2c0607aaa48da2267f0e;hb=905c1283897c27188ef1984f302379befc9de9b5;hp=4954053d85d44f03b846e146fb538b7ee87577c4;hpb=7edf24af39068a3c58ebe232f94d5882d42d721b;p=apitrace diff --git a/README.markdown b/README.markdown index 4954053..497351a 100644 --- a/README.markdown +++ b/README.markdown @@ -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 @@ -158,7 +158,7 @@ You can compare two state dumps with the jsondiff.py script: Comparing two traces side by side --------------------------------- - ./scripts/tracediff.sh trace1.trace trace2.trace + apitrace diff trace1.trace trace2.trace This works only on Unices, and it will truncate the traces due to performance limitations.