[llvm-commits] [PATCH] JIT profiling support with Intel Parallel Amplifier XE 2011 (VTune)

Bendersky, Eli eli.bendersky at intel.com
Thu Feb 2 19:18:16 PST 2012


Ping!

> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Bendersky, Eli
> Sent: Tuesday, January 31, 2012 11:19
> To: llvm-commits at cs.uiuc.edu
> Subject: [llvm-commits] [PATCH] JIT profiling support with Intel Parallel
> Amplifier XE 2011 (VTune)
> 
> Hello,
> 
> Currently the only profiling LLVM JITted code support is via OProfile. This
> patch adds profiling support for Intel Parallel Amplifier XE 2011 (used to be
> called "VTune"), does some refactoring to share code between the
> implementations, and adds unit tests both for the existing OProfile interface
> and the new Amplifier XE interface. In more detail:
> 
> - Added Intel JIT Events API compatible JITEventListener, and allow
> OProfileJITEventListener to load libopagent.so at runtime
> - Removed link-time requirement on libopagent when building with OProfile
> support
> - Added Intel JIT API and OProfile support to cmake builds (Boolean options
> LLVM_USE_OPROFILE and LLVM_USE_INTEL_JITEVENTS)
> - Added IntelJITEventListener to connect to Intel JIT API (support for profiling
> with Parallel Amplifier XE 2011)
> - Added unit tests for both IntelJIT and OProfile JITEventListener
> implementations which can still be run in the absence the respective 3rd
> party libraries
> 
> The change was broken into several patches. The first contains the new
> implementation and tests. The others are build system changes to
> incorporate the new code.
> 
> This is essentially similar to the patch sent by Daniel Malea in the beginning of
> December, but which unfortunately hasn't received a reply. We updated it to
> cleanly apply to SVN trunk.
> 
> Please review
> 
> Eli
> 
> 
> ---------------------------------------------------------------------
> Intel Israel (74) Limited
> 
> This e-mail and any attachments may contain confidential material for the
> sole use of the intended recipient(s). Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient, please contact the
> sender and delete all copies.
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.





More information about the llvm-commits mailing list