diff options
author | Fan Yang <52458914+fanyang-mono@users.noreply.github.com> | 2020-03-31 16:03:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 16:03:43 +0300 |
commit | 68a8b9290958ee5e9b21d8ff6b73a707e2504d39 (patch) | |
tree | 95f391ff9918e69a0805259c3d357ddda54fdfdd /configure.ac | |
parent | b9f52f3681ebbc407a82a799ac02c078545acfc6 (diff) |
Initial perf jitdump implementation (#19273)
* Initial perf jitdump implementation
* Incorporate PR feedback
* Incorporate feedback round 2
* Incorporate feedback round 3
* Minor change
* Incorporate feedback round 4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fd2d543b424..22c584cf76f 100644 --- a/configure.ac +++ b/configure.ac @@ -755,6 +755,12 @@ fi # for mono/metadata/debug-symfile.c AC_CHECK_HEADERS(elf.h) +# for perf jit dump support +AC_CHECK_HEADERS(sys/mman.h) +if test "x$host_linux" = "xyes" -a x$ac_cv_header_sys_mman_h = xyes -a x$ac_cv_header_elf_h = xyes -a x$ac_cv_header_sys_syscall_h = xyes; then + AC_DEFINE(ENABLE_JIT_DUMP, 1, [Enable jit dump support on Linux]) +fi + # for support AC_CHECK_HEADERS(poll.h) AC_CHECK_HEADERS(sys/poll.h) |