Skip to content

Commit

Permalink
Disable dtrace probes on Windows.
Browse files Browse the repository at this point in the history
Apparently, in Win10, dtrace is avaialable, but it does not work with
MariaDB user probes
  • Loading branch information
vaintroub committed Jun 19, 2020
1 parent 727252f commit b1b9803
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/dtrace.cmake
Expand Up @@ -43,7 +43,8 @@ MACRO(CHECK_DTRACE)
IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
AND NOT BUGGY_LINUX_DTRACE
AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS"
AND NOT WIN32)
SET(ENABLE_DTRACE ON CACHE BOOL "Enable dtrace")
ENDIF()
# On GNU/Hurd, dtrace is not supported
Expand Down

0 comments on commit b1b9803

Please sign in to comment.