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 /storage/myisam/Makefile.am | |
parent | 602f612af09c3ccb6db19286291ae0bca403db5c (diff) | |
download | mariadb-git-cc958a18dd9554870edd3b1c6119edf72b661879.tar.gz |
Backport of DTrace patches from 6.0
Diffstat (limited to 'storage/myisam/Makefile.am')
-rw-r--r-- | storage/myisam/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/storage/myisam/Makefile.am b/storage/myisam/Makefile.am index f50c312b8e4..c79fc2e0f03 100644 --- a/storage/myisam/Makefile.am +++ b/storage/myisam/Makefile.am @@ -150,5 +150,21 @@ SUFFIXES = .sh @CHMOD@ +x $@-t @MV@ $@-t $@ +if HAVE_DTRACE_DASH_G +abs_top_srcdir = @abs_top_srcdir@ +libmyisam_a_LIBADD = probes_mysql.o +libmyisam_a_DEPENDENCIES = probes_mysql.o dtrace_files dtrace_providers +CLEANFILES += probes_mysql.o dtrace_files dtrace_providers +DTRACEFILES = ha_myisam.o +DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d + +dtrace_files: + echo $(DTRACEFILES) > $@ +dtrace_providers: + echo $(DTRACEPROVIDER) > $@ +probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES) + $(DTRACE) $(DTRACEFLAGS) -G -s $< $(DTRACEFILES) -o $@ +endif + # Don't update the files from bitkeeper %::SCCS/s.% |