From: José Fonseca Date: Wed, 15 Feb 2012 07:18:22 +0000 (+0000) Subject: Mention apitrace trim in the documentation. X-Git-Tag: 2.0_alpha^2~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b1b0a2f2c2dd9cd8943f94333d08339a85015a6;p=tools%2Fapitrace.git Mention apitrace trim in the documentation. --- diff --git a/NEWS.markdown b/NEWS.markdown index 29ca619..c53e2bb 100644 --- a/NEWS.markdown +++ b/NEWS.markdown @@ -9,6 +9,8 @@ Development * Trace and retrace support for EGL, GLES1, and GLES2 APIs. +* Ability to trim traces. + Version 2.0 =========== diff --git a/README.markdown b/README.markdown index 38dfa5e..732f935 100644 --- a/README.markdown +++ b/README.markdown @@ -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 ====================================== diff --git a/TODO.markdown b/TODO.markdown index 2fd2383..e596687 100644 --- a/TODO.markdown +++ b/TODO.markdown @@ -55,7 +55,6 @@ CLI --- * Add retrace Replay all the calls in a trace -* Add trim Trim a trace by including only the specified calls/frames * Add dump-state Output the OpenGL state in JSON format * Add dump-images Create image files for each frame/drawing operation of a trace