mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Backport of DTrace patches from 6.0
This commit is contained in:
parent
602f612af0
commit
cc958a18dd
46 changed files with 1521 additions and 74 deletions
|
|
@ -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.%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue