<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 4, 2017, at 9:40 AM, Jose Fonseca <<a href="mailto:jfonseca@vmware.com" class="">jfonseca@vmware.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On 29/06/17 11:02, Michel Dänzer wrote:<br class="">
<blockquote type="cite" class="">On 29/06/17 01:54 AM, Cherniak, Bruce wrote:<br class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">On Jun 26, 2017, at 2:10 PM, Marek Olšák <<a href="mailto:maraeo@gmail.com" class="">maraeo@gmail.com</a>> wrote:<br class="">
<br class="">
In my opinion, dumping resources isn't very useful. I think it would<br class="">
be better to remove that completely.<br class="">
</blockquote>
<br class="">
From Michel's response, sounds like dumping resources is useful, so...<br class="">
</blockquote>
FWIW, after my previous post it occurred to me that resource dumping<br class="">
might not be necessary after all; dumping transfers might be sufficient<br class="">
for a replayable trace.<br class="">
Adding José, I hope he can clarify.<br class="">
</blockquote>
<br class="">
Right, to preserve ability to replay, it should suffice to serialize the write transfers.<br class="">
<br class="">
Of course, this ignores the issue of persistent mappings. To handle persistent mappings the trace driver would need to, on every draw, walk over every bound buffer and see if any was changed by keeping a shadow memory, or some other trick mentioned on
<a href="https://github.com/apitrace/apitrace/issues/232" class="">https://github.com/apitrace/apitrace/issues/232</a><br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
With regards to averting the crash that I experience in trace_dump_box_bytes when tracing certain applications, what is the best path forward?</div>
<div>I can keep my patch (or a patch that stubs this function altogether) handy for local application, but that doesn't help anyone else out.</div>
<div><br class="">
</div>
<div>Thanks,</div>
<div>Bruce<br class="">
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">Jose<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>