Commit 95740bc5 authored by Sergei Golubchik's avatar Sergei Golubchik

dtrace in cmake

1. ignore generated dtrace files
2. don't rewrite probes_mysql_nodtrace.h in-place
parent a5d9597e
...@@ -61,6 +61,9 @@ include/mysql_version.h ...@@ -61,6 +61,9 @@ include/mysql_version.h
include/mysqld_ername.h include/mysqld_ername.h
include/mysqld_error.h include/mysqld_error.h
include/sql_state.h include/sql_state.h
include/probes_mysql.d
include/probes_mysql_dtrace.h
include/probes_mysql_nodtrace.h
info_macros.cmake info_macros.cmake
libmysql*/libmysql*_exports_file.cc libmysql*/libmysql*_exports_file.cc
libmysql*/merge_archives_mysql*.cmake libmysql*/merge_archives_mysql*.cmake
......
...@@ -86,6 +86,9 @@ IF(ENABLE_DTRACE) ...@@ -86,6 +86,9 @@ IF(ENABLE_DTRACE)
${CMAKE_BINARY_DIR}/include/probes_mysql_dtrace.h ${CMAKE_BINARY_DIR}/include/probes_mysql_dtrace.h
${CMAKE_BINARY_DIR}/include/probes_mysql_nodtrace.h ${CMAKE_BINARY_DIR}/include/probes_mysql_nodtrace.h
) )
ELSE()
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/include/probes_mysql_nodtrace.h.in
${CMAKE_BINARY_DIR}/include/probes_mysql_nodtrace.h COPYONLY)
ENDIF() ENDIF()
FUNCTION(DTRACE_INSTRUMENT target) FUNCTION(DTRACE_INSTRUMENT target)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment