mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM.
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code. In addition, unit tests for the profiling interfaces were added. This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -677,9 +677,6 @@
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
#undef TM_IN_SYS_TIME
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#undef USE_OPROFILE
|
||||
|
||||
/* Define if use udis86 library */
|
||||
#undef USE_UDIS86
|
||||
|
||||
@@ -716,4 +713,10 @@
|
||||
/* Added by Kevin -- Maximum path length */
|
||||
#cmakedefine MAXPATHLEN ${MAXPATHLEN}
|
||||
|
||||
/* Support for Intel JIT Events API is enabled */
|
||||
#cmakedefine LLVM_USE_INTEL_JITEVENTS 1
|
||||
|
||||
/* Support for OProfile JIT API is enabled */
|
||||
#cmakedefine LLVM_USE_OPROFILE 1
|
||||
|
||||
#endif
|
||||
|
@@ -615,6 +615,12 @@
|
||||
/* Installation prefix directory */
|
||||
#undef LLVM_PREFIX
|
||||
|
||||
/* Define if we have the Intel JIT API runtime support library */
|
||||
#undef LLVM_USE_INTEL_JITEVENTS
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#undef LLVM_USE_OPROFILE
|
||||
|
||||
/* Major version of the LLVM API */
|
||||
#undef LLVM_VERSION_MAJOR
|
||||
|
||||
@@ -675,9 +681,6 @@
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
#undef TM_IN_SYS_TIME
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#undef USE_OPROFILE
|
||||
|
||||
/* Define if use udis86 library */
|
||||
#undef USE_UDIS86
|
||||
|
||||
|
Reference in New Issue
Block a user