[LLVMdev] perf tool support in MCJIT

Jose Fonseca jfonseca at vmware.com
Fri May 23 03:11:36 PDT 2014


FWIW, Mesa3D has some LLVM <-> linux perf integration (and disassembly output too).  This responsibility can and probably should be moved upstream to LLVM though.

For more information see:
  http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp#n411
  http://cgit.freedesktop.org/mesa/mesa/tree/bin/perf-annotate-jit

Jose

----- Original Message -----
> I believe the perf tool cannot profile/analyze the JITed code in MCJIT model.
> 
> Can you please confirm this ? I was working on a patch to fix this.
> 
> Another question, is the there any support to map the llvm IR with x86
> generated assembly ? so its easier to analyze the code generator.
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu
> 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
> 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
> 



More information about the llvm-dev mailing list