]> git.cworth.org Git - apitrace/blobdiff - README.markdown
Mention apitrace trim in the documentation.
[apitrace] / README.markdown
index 38dfa5e21c357ae47a9187ded3d786b895a9dee4..732f93545adfa525c435bcfa8cb1eae968354dd3 100644 (file)
@@ -205,6 +205,18 @@ You can make a video of the output by doing
     | ffmpeg -r 30 -f image2pipe -vcodec ppm -i pipe: -vcodec mpeg4 -y output.mp4
 
 
+Triming a trace
+---------------
+
+You can make a smaller trace by doing:
+
+    apitrace trim --callset 100-1000 -o trimed.trace applicated.trace
+
+If you need precise control over which calls to trim you can specify the
+individual call numbers a plaintext file, as described in the 'Call sets'
+section above.
+
+
 Advanced usage for OpenGL implementors
 ======================================