diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2008-12-20 11:01:41 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2008-12-20 11:01:41 +0100 |
commit | cc958a18dd9554870edd3b1c6119edf72b661879 (patch) | |
tree | 36aa1edfd94289934ffa3aa66af64b899e9a9e77 /include/Makefile.am | |
parent | 602f612af09c3ccb6db19286291ae0bca403db5c (diff) | |
download | mariadb-git-cc958a18dd9554870edd3b1c6119edf72b661879.tar.gz |
Backport of DTrace patches from 6.0
Diffstat (limited to 'include/Makefile.am')
-rw-r--r-- | include/Makefile.am | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 9438f0d0f25..e0dbfa84f23 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -36,7 +36,8 @@ noinst_HEADERS = config-win.h config-netware.h my_bit.h \ mysql_version.h.in my_handler.h my_time.h \ my_vle.h my_user.h my_atomic.h atomic/nolock.h \ atomic/rwlock.h atomic/x86-gcc.h atomic/x86-msvc.h \ - atomic/gcc_builtins.h my_libwrap.h my_stacktrace.h + atomic/gcc_builtins.h my_libwrap.h my_stacktrace.h \ + probes_mysql.h probes_mysql_nodtrace.h EXTRA_DIST = mysql.h.pp mysql/plugin.h.pp @@ -64,5 +65,17 @@ my_config.h: config.h dist-hook: $(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h +if HAVE_DTRACE +BUILT_SOURCES += probes_mysql_dtrace.h +CLEANFILES += probes_mysql_dtrace.h +DTRACEPROVIDER = $(top_srcdir)/sql/probes_mysql.d + +probes_mysql_dtrace.h: $(DTRACEPROVIDER) + $(DTRACE) $(DTRACEFLAGS) -h -s $< -o $@ +endif + +probes_mysql_nodtrace.h: $(DTRACEPROVIDER) + $(top_srcdir)/scripts/dheadgen.pl -f $^ > $@ + # Don't update the files from bitkeeper %::SCCS/s.% |