<div dir="ltr"><div class="gmail_default" style="font-size:small"><font face="tahoma, sans-serif">Hi Jose, </font></div><div class="gmail_default" style="font-size:small"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default">
<font face="tahoma, sans-serif">with the MCJIT model, the size of the functions can be pre-determined, so there wouldn't be a need to call the slower disassemble subroutine. I will try writing a simpler patch and submit it and perhaps it can be up streamed. </font></div>
<div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Thanks</font></div><div class="gmail_default"><font face="tahoma, sans-serif">sathvik </font></div>
<div class="gmail_extra"><font face="tahoma, sans-serif"><br></font><br><div class="gmail_quote">On Fri, May 23, 2014 at 3:11 AM, Jose Fonseca <span dir="ltr"><<a href="mailto:jfonseca@vmware.com" target="_blank">jfonseca@vmware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FWIW, Mesa3D has some LLVM <-> linux perf integration (and disassembly output too).  This responsibility can and probably should be moved upstream to LLVM though.<br>

<br>
For more information see:<br>
  <a href="http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp#n411" target="_blank">http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp#n411</a><br>

  <a href="http://cgit.freedesktop.org/mesa/mesa/tree/bin/perf-annotate-jit" target="_blank">http://cgit.freedesktop.org/mesa/mesa/tree/bin/perf-annotate-jit</a><br>
<br>
Jose<br>
<div><div class="h5"><br>
----- Original Message -----<br>
> I believe the perf tool cannot profile/analyze the JITed code in MCJIT model.<br>
><br>
> Can you please confirm this ? I was working on a patch to fix this.<br>
><br>
> Another question, is the there any support to map the llvm IR with x86<br>
> generated assembly ? so its easier to analyze the code generator.<br>
><br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a><br>
> <a href="https://urldefense.proofpoint.com/v1/url?u=http://llvm.cs.uiuc.edu/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=pz7CBYMkf0bQ61TAbfTPU3%2BwAe0NO%2FxowmgMa60gjdM%3D%0A&s=0666cf509d2a9468bf6c6c0b283081b5e68c8a70b7dda01f2d6835c50fee7347" target="_blank">https://urldefense.proofpoint.com/v1/url?u=http://llvm.cs.uiuc.edu/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=pz7CBYMkf0bQ61TAbfTPU3%2BwAe0NO%2FxowmgMa60gjdM%3D%0A&s=0666cf509d2a9468bf6c6c0b283081b5e68c8a70b7dda01f2d6835c50fee7347</a><br>

> <a href="https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=pz7CBYMkf0bQ61TAbfTPU3%2BwAe0NO%2FxowmgMa60gjdM%3D%0A&s=a89ce7b4673ff5778ccddcd60e3da0b52402bcd1bd132301fcb2ecffb64cc62f" target="_blank">https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=pz7CBYMkf0bQ61TAbfTPU3%2BwAe0NO%2FxowmgMa60gjdM%3D%0A&s=a89ce7b4673ff5778ccddcd60e3da0b52402bcd1bd132301fcb2ecffb64cc62f</a><br>

><br>
</blockquote></div><br></div></div>