[mono] Add cmake check for HAVE_CLOCK_GETTIME (#88428)
authorSanjam Panda <36253777+saitama951@users.noreply.github.com>
Thu, 6 Jul 2023 17:21:28 +0000 (22:51 +0530)
committerGitHub <noreply@github.com>
Thu, 6 Jul 2023 17:21:28 +0000 (13:21 -0400)
commita2c19cd005a1130ba7f921e0264287cfbfa8513c
tree8fb05b5ad9302c81805f0b1923afc35731ae57ed
parentd1f0c799bd5cf5c6fcfa0cb0ab65e57a464496e0
[mono] Add cmake check for HAVE_CLOCK_GETTIME (#88428)

Fixes an issue with missing method names when perf is used together with BenchmarkDotNet using Mono on Linux due to incorrect event order of the fork events and the mmap2 events.
src/mono/cmake/config.h.in
src/mono/cmake/configure.cmake