Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
da44736a
Commit
da44736a
authored
Mar 30, 2010
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out dtrace stuff for now, as it does not work properly on systems that lack dtrace.
Remove generated header from bzr
parent
5a3b3d9a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
60 deletions
+15
-60
storage/oqgraph/Makefile.am
storage/oqgraph/Makefile.am
+15
-15
storage/oqgraph/oqgraph_probes.h
storage/oqgraph/oqgraph_probes.h
+0
-45
No files found.
storage/oqgraph/Makefile.am
View file @
da44736a
...
...
@@ -47,15 +47,15 @@ EXTRA_DIST = ha_oqgraph.h ha_oqgraph.cc graphcore.cc \
graphcore-graph.h graphcore-types.h graphcore.h
\
CMakeFiles.txt plug.in oqgraph_probes.d
DTRACE
=
@DTRACE@
DTRACEFLAGS
=
@DTRACEFLAGS@
DTRACEFILES
=
.libs/liboqgraph_engine_la-ha_oqgraph.o
#
DTRACE = @DTRACE@
#
DTRACEFLAGS = @DTRACEFLAGS@
#
DTRACEFILES = .libs/liboqgraph_engine_la-ha_oqgraph.o
ORIG_CXXFLAGS
=
@CXXFLAGS@
CXXFLAGS
=
noinst_HEADERS
=
ha_oqgraph.h
\
graphcore-graph.h graphcore-types.h graphcore.h
\
oqgraph_probes.h
graphcore-graph.h graphcore-types.h graphcore.h
#
oqgraph_probes.h
noinst_LTLIBRARIES
=
libgraphcore.la
libgraphcore_la_SOURCES
=
graphcore.cc
...
...
@@ -74,22 +74,22 @@ mysqlplugin_LTLIBRARIES = @plugin_oqgraph_shared_target@
oqgraph_engine_la_SOURCES
=
ha_oqgraph.cc
oqgraph_engine_la_LIBADD
=
libgraphcore.la
if
HAVE_DTRACE
oqgraph_engine_la_LIBADD
+=
oqgraph_probes.o
endif
#
if HAVE_DTRACE
#
oqgraph_engine_la_LIBADD += oqgraph_probes.o
#
endif
oqgraph_engine_la_LDFLAGS
=
-module
-rpath
$(mysqlplugindir)
oqgraph_engine_la_CFLAGS
=
$(ORIG_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
oqgraph_engine_la_CXXFLAGS
=
$(ORIG_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
oqgraph_probes.h
:
oqgraph_probes.d
$(DTRACE)
$(DTRACEFLAGS)
-h
-s
oqgraph_probes.d
mv
oqgraph_probes.h oqgraph_probes.h.bak
sed
"s/#include <unistd.h>//g"
oqgraph_probes.h.bak
>
oqgraph_probes.h
rm
oqgraph_probes.h.bak
#
oqgraph_probes.h: oqgraph_probes.d
#
$(DTRACE) $(DTRACEFLAGS) -h -s oqgraph_probes.d
#
mv oqgraph_probes.h oqgraph_probes.h.bak
#
sed "s/#include <unistd.h>//g" oqgraph_probes.h.bak > oqgraph_probes.h
#
rm oqgraph_probes.h.bak
oqgraph_probes.o
:
$(DTRACE)
$(DTRACEFLAGS)
-G
-s
oqgraph_probes.d
$(DTRACEFILES)
#
oqgraph_probes.o:
#
$(DTRACE) $(DTRACEFLAGS) -G -s oqgraph_probes.d $(DTRACEFILES)
endif
BUILD_OQGRAPH_FOR_MYSQL
...
...
storage/oqgraph/oqgraph_probes.h
deleted
100644 → 0
View file @
5a3b3d9a
/*
* Generated by dtrace(1M).
*/
#ifndef _OQGRAPH_PROBES_H
#define _OQGRAPH_PROBES_H
#ifdef __cplusplus
extern
"C"
{
#endif
#if _DTRACE_VERSION
#define OQGRAPH_CLOSE() \
__dtrace_oqgraph___close()
#define OQGRAPH_CLOSE_ENABLED() \
__dtraceenabled_oqgraph___close()
#define OQGRAPH_OPEN() \
__dtrace_oqgraph___open()
#define OQGRAPH_OPEN_ENABLED() \
__dtraceenabled_oqgraph___open()
extern
void
__dtrace_oqgraph___close
(
void
);
extern
int
__dtraceenabled_oqgraph___close
(
void
);
extern
void
__dtrace_oqgraph___open
(
void
);
extern
int
__dtraceenabled_oqgraph___open
(
void
);
#else
#define OQGRAPH_CLOSE()
#define OQGRAPH_CLOSE_ENABLED() (0)
#define OQGRAPH_OPEN()
#define OQGRAPH_OPEN_ENABLED() (0)
#endif
#ifdef __cplusplus
}
#endif
#endif
/* _OQGRAPH_PROBES_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment