<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi Julia. &nbsp;I&#8217;m actually working on doing this as we speak. &nbsp;Maybe hold off a few days? &nbsp;</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> &lt;<a href="mailto:panda-users-bounces@mit.edu">panda-users-bounces@mit.edu</a>&gt; on behalf of Julia Gustafsson &lt;<a href="mailto:gustafssonjulia92@gmail.com">gustafssonjulia92@gmail.com</a>&gt;<br><span style="font-weight:bold">Date: </span> Saturday, February 13, 2016 at 7:26 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a>" &lt;<a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span> [panda-users] Compressing the LLVM files<br></div><div><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">Saw that you wrote this regarding the files from the llvm_trace plugin:</div><div style="color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">"<span style="font-size: 12.8px;">They are very large. However they are also highly compressible. One</span></div><div id=":mb" class="" style="color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12.8px; margin-bottom: 0px; margin-left: 0px; padding-bottom: 5px;"><div id=":ma" class="" style="overflow: hidden;">way to reduce the space taken up is to modify panda/tubtf.c to use<br>gzip compression as it writes the file; I've done this in the past and<br>it works well, but it does mean that the resulting log file is not<br>seekable (i.e. it's hard to process it in any order other than the<br>beginning to the end)."<br></div><div id=":ma" class="" style="overflow: hidden;"><br></div><div id=":ma" class="" style="overflow: hidden;">My question is then how do I change the code so that it uses compression while writing to the TUBTF file correctly? Can this be done for making the llvm-memlog file compressed as well?</div><div id=":ma" class="" style="overflow: hidden;">Another question is regarding what do you mean with that the " resulting log file is not seekable"? Is it not possible to use dynslice on the TUBTF file if it is compressed in the way you describe?</div><div id=":ma" class="" style="overflow: hidden;"><br></div><div id=":ma" class="" style="overflow: hidden;">Thank you in advance.</div><div id=":ma" class="" style="overflow: hidden;"><br></div><div id=":ma" class="" style="overflow: hidden;">Best Regards,</div><div id=":ma" class="" style="overflow: hidden;">Julia&nbsp;</div></div></span></body></html>