<pre>Hi Chris,<br><br>I used your perl script to extract all the gl calls in a specific frame. I found it very useful.<br>I observed that if following command is used to generate the tracedump file:<br>tracedump application.trace &gt; tracedumpfile<br>

perl <a href="http://trace_frames.pl">trace_frames.pl</a> 10 &lt; tracedumpfile<br>and 10.txt is opened using vi editor<br>vi 10.txt<br><br>it also shows unnecessary escape characters due to color highlighting. This can be avoided by disabling <br>

color highlighting at the time of tracedump.<br><br>tracedump --no-color shape.trace &gt; tracedumpfile<br><br>This is just a small issue but it would be nice to put it as a comment in your script.<br><br>Thanks<br>Anuj<br>

<br><br>---------- Forwarded message ----------
From: Chris Fester &lt;<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace">camaronut at gmail.com</a>&gt;
Date: Mon, Aug 15, 2011 at 11:01 PM
Subject: tracedump frame &quot;split&quot; tool
To: <a href="http://lists.freedesktop.org/mailman/listinfo/apitrace">jose.r.fonseca at gmail.com</a>


Hi Jose,

[...]

In the process of debugging, I wrote up a little perl script (not
proficient in python yet) to generate text files from a trace dump
that only contain the contents of a single frame.  It&#39;s attached in
the hopes that you or anyone else using tracedump may find it useful.

Chris Fester

--
Oh, meltdown... It&#39;s one of these annoying buzzwords. We prefer to
call it an unrequested fission surplus.
-- Mr. Burns, The Simpsons
-------------- next part --------------
A non-text attachment was scrubbed...
Name: <a href="http://trace_frames.pl">trace_frames.pl</a>
Type: application/x-perl
Size: 905 bytes
Desc: not available
URL: &lt;<a href="http://lists.freedesktop.org/archives/apitrace/attachments/20110910/7a457bea/attachment.bin">http://lists.freedesktop.org/archives/apitrace/attachments/20110910/7a457bea/attachment.bin</a>&gt;</pre>