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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8f407561
Commit
8f407561
authored
Dec 23, 2008
by
Alexey Kopytov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed DTrace-related build failures.
parent
bceeb36b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
119 additions
and
119 deletions
+119
-119
include/probes_mysql_nodtrace.h
include/probes_mysql_nodtrace.h
+115
-115
scripts/dheadgen.pl
scripts/dheadgen.pl
+0
-0
sql/Makefile.am
sql/Makefile.am
+4
-4
No files found.
include/probes_mysql_nodtrace.h
View file @
8f407561
...
@@ -2,125 +2,125 @@
...
@@ -2,125 +2,125 @@
* Generated by dheadgen(1).
* Generated by dheadgen(1).
*/
*/
#ifndef
_PROBES_MYSQL_D
#ifndef
_PROBES_MYSQL_D
#define
_PROBES_MYSQL_D
#define
_PROBES_MYSQL_D
#ifdef
__cplusplus
#ifdef
__cplusplus
extern
"C"
{
extern
"C"
{
#endif
#endif
#define
MYSQL_CONNECTION_START(arg0, arg1, arg2)
#define
MYSQL_CONNECTION_START(arg0, arg1, arg2)
#define
MYSQL_CONNECTION_START_ENABLED() (0)
#define
MYSQL_CONNECTION_START_ENABLED() (0)
#define
MYSQL_CONNECTION_DONE(arg0, arg1)
#define
MYSQL_CONNECTION_DONE(arg0, arg1)
#define
MYSQL_CONNECTION_DONE_ENABLED() (0)
#define
MYSQL_CONNECTION_DONE_ENABLED() (0)
#define
MYSQL_COMMAND_START(arg0, arg1, arg2, arg3)
#define
MYSQL_COMMAND_START(arg0, arg1, arg2, arg3)
#define
MYSQL_COMMAND_START_ENABLED() (0)
#define
MYSQL_COMMAND_START_ENABLED() (0)
#define
MYSQL_COMMAND_DONE(arg0)
#define
MYSQL_COMMAND_DONE(arg0)
#define
MYSQL_COMMAND_DONE_ENABLED() (0)
#define
MYSQL_COMMAND_DONE_ENABLED() (0)
#define
MYSQL_QUERY_START(arg0, arg1, arg2, arg3, arg4)
#define
MYSQL_QUERY_START(arg0, arg1, arg2, arg3, arg4)
#define
MYSQL_QUERY_START_ENABLED() (0)
#define
MYSQL_QUERY_START_ENABLED() (0)
#define
MYSQL_QUERY_DONE(arg0)
#define
MYSQL_QUERY_DONE(arg0)
#define
MYSQL_QUERY_DONE_ENABLED() (0)
#define
MYSQL_QUERY_DONE_ENABLED() (0)
#define
MYSQL_QUERY_PARSE_START(arg0)
#define
MYSQL_QUERY_PARSE_START(arg0)
#define
MYSQL_QUERY_PARSE_START_ENABLED() (0)
#define
MYSQL_QUERY_PARSE_START_ENABLED() (0)
#define
MYSQL_QUERY_PARSE_DONE(arg0)
#define
MYSQL_QUERY_PARSE_DONE(arg0)
#define
MYSQL_QUERY_PARSE_DONE_ENABLED() (0)
#define
MYSQL_QUERY_PARSE_DONE_ENABLED() (0)
#define
MYSQL_QUERY_CACHE_HIT(arg0, arg1)
#define
MYSQL_QUERY_CACHE_HIT(arg0, arg1)
#define
MYSQL_QUERY_CACHE_HIT_ENABLED() (0)
#define
MYSQL_QUERY_CACHE_HIT_ENABLED() (0)
#define
MYSQL_QUERY_CACHE_MISS(arg0)
#define
MYSQL_QUERY_CACHE_MISS(arg0)
#define
MYSQL_QUERY_CACHE_MISS_ENABLED() (0)
#define
MYSQL_QUERY_CACHE_MISS_ENABLED() (0)
#define
MYSQL_QUERY_EXEC_START(arg0, arg1, arg2, arg3, arg4, arg5)
#define
MYSQL_QUERY_EXEC_START(arg0, arg1, arg2, arg3, arg4, arg5)
#define
MYSQL_QUERY_EXEC_START_ENABLED() (0)
#define
MYSQL_QUERY_EXEC_START_ENABLED() (0)
#define
MYSQL_QUERY_EXEC_DONE(arg0)
#define
MYSQL_QUERY_EXEC_DONE(arg0)
#define
MYSQL_QUERY_EXEC_DONE_ENABLED() (0)
#define
MYSQL_QUERY_EXEC_DONE_ENABLED() (0)
#define
MYSQL_INSERT_ROW_START(arg0, arg1)
#define
MYSQL_INSERT_ROW_START(arg0, arg1)
#define
MYSQL_INSERT_ROW_START_ENABLED() (0)
#define
MYSQL_INSERT_ROW_START_ENABLED() (0)
#define
MYSQL_INSERT_ROW_DONE(arg0)
#define
MYSQL_INSERT_ROW_DONE(arg0)
#define
MYSQL_INSERT_ROW_DONE_ENABLED() (0)
#define
MYSQL_INSERT_ROW_DONE_ENABLED() (0)
#define
MYSQL_UPDATE_ROW_START(arg0, arg1)
#define
MYSQL_UPDATE_ROW_START(arg0, arg1)
#define
MYSQL_UPDATE_ROW_START_ENABLED() (0)
#define
MYSQL_UPDATE_ROW_START_ENABLED() (0)
#define
MYSQL_UPDATE_ROW_DONE(arg0)
#define
MYSQL_UPDATE_ROW_DONE(arg0)
#define
MYSQL_UPDATE_ROW_DONE_ENABLED() (0)
#define
MYSQL_UPDATE_ROW_DONE_ENABLED() (0)
#define
MYSQL_DELETE_ROW_START(arg0, arg1)
#define
MYSQL_DELETE_ROW_START(arg0, arg1)
#define
MYSQL_DELETE_ROW_START_ENABLED() (0)
#define
MYSQL_DELETE_ROW_START_ENABLED() (0)
#define
MYSQL_DELETE_ROW_DONE(arg0)
#define
MYSQL_DELETE_ROW_DONE(arg0)
#define
MYSQL_DELETE_ROW_DONE_ENABLED() (0)
#define
MYSQL_DELETE_ROW_DONE_ENABLED() (0)
#define
MYSQL_READ_ROW_START(arg0, arg1, arg2)
#define
MYSQL_READ_ROW_START(arg0, arg1, arg2)
#define
MYSQL_READ_ROW_START_ENABLED() (0)
#define
MYSQL_READ_ROW_START_ENABLED() (0)
#define
MYSQL_READ_ROW_DONE(arg0)
#define
MYSQL_READ_ROW_DONE(arg0)
#define
MYSQL_READ_ROW_DONE_ENABLED() (0)
#define
MYSQL_READ_ROW_DONE_ENABLED() (0)
#define
MYSQL_INDEX_READ_ROW_START(arg0, arg1)
#define
MYSQL_INDEX_READ_ROW_START(arg0, arg1)
#define
MYSQL_INDEX_READ_ROW_START_ENABLED() (0)
#define
MYSQL_INDEX_READ_ROW_START_ENABLED() (0)
#define
MYSQL_INDEX_READ_ROW_DONE(arg0)
#define
MYSQL_INDEX_READ_ROW_DONE(arg0)
#define
MYSQL_INDEX_READ_ROW_DONE_ENABLED() (0)
#define
MYSQL_INDEX_READ_ROW_DONE_ENABLED() (0)
#define
MYSQL_HANDLER_RDLOCK_START(arg0, arg1)
#define
MYSQL_HANDLER_RDLOCK_START(arg0, arg1)
#define
MYSQL_HANDLER_RDLOCK_START_ENABLED() (0)
#define
MYSQL_HANDLER_RDLOCK_START_ENABLED() (0)
#define
MYSQL_HANDLER_WRLOCK_START(arg0, arg1)
#define
MYSQL_HANDLER_WRLOCK_START(arg0, arg1)
#define
MYSQL_HANDLER_WRLOCK_START_ENABLED() (0)
#define
MYSQL_HANDLER_WRLOCK_START_ENABLED() (0)
#define
MYSQL_HANDLER_UNLOCK_START(arg0, arg1)
#define
MYSQL_HANDLER_UNLOCK_START(arg0, arg1)
#define
MYSQL_HANDLER_UNLOCK_START_ENABLED() (0)
#define
MYSQL_HANDLER_UNLOCK_START_ENABLED() (0)
#define
MYSQL_HANDLER_RDLOCK_DONE(arg0)
#define
MYSQL_HANDLER_RDLOCK_DONE(arg0)
#define
MYSQL_HANDLER_RDLOCK_DONE_ENABLED() (0)
#define
MYSQL_HANDLER_RDLOCK_DONE_ENABLED() (0)
#define
MYSQL_HANDLER_WRLOCK_DONE(arg0)
#define
MYSQL_HANDLER_WRLOCK_DONE(arg0)
#define
MYSQL_HANDLER_WRLOCK_DONE_ENABLED() (0)
#define
MYSQL_HANDLER_WRLOCK_DONE_ENABLED() (0)
#define
MYSQL_HANDLER_UNLOCK_DONE(arg0)
#define
MYSQL_HANDLER_UNLOCK_DONE(arg0)
#define
MYSQL_HANDLER_UNLOCK_DONE_ENABLED() (0)
#define
MYSQL_HANDLER_UNLOCK_DONE_ENABLED() (0)
#define
MYSQL_FILESORT_START(arg0, arg1)
#define
MYSQL_FILESORT_START(arg0, arg1)
#define
MYSQL_FILESORT_START_ENABLED() (0)
#define
MYSQL_FILESORT_START_ENABLED() (0)
#define
MYSQL_FILESORT_DONE(arg0, arg1)
#define
MYSQL_FILESORT_DONE(arg0, arg1)
#define
MYSQL_FILESORT_DONE_ENABLED() (0)
#define
MYSQL_FILESORT_DONE_ENABLED() (0)
#define
MYSQL_SELECT_START(arg0)
#define
MYSQL_SELECT_START(arg0)
#define
MYSQL_SELECT_START_ENABLED() (0)
#define
MYSQL_SELECT_START_ENABLED() (0)
#define
MYSQL_SELECT_DONE(arg0, arg1)
#define
MYSQL_SELECT_DONE(arg0, arg1)
#define
MYSQL_SELECT_DONE_ENABLED() (0)
#define
MYSQL_SELECT_DONE_ENABLED() (0)
#define
MYSQL_INSERT_START(arg0)
#define
MYSQL_INSERT_START(arg0)
#define
MYSQL_INSERT_START_ENABLED() (0)
#define
MYSQL_INSERT_START_ENABLED() (0)
#define
MYSQL_INSERT_DONE(arg0, arg1)
#define
MYSQL_INSERT_DONE(arg0, arg1)
#define
MYSQL_INSERT_DONE_ENABLED() (0)
#define
MYSQL_INSERT_DONE_ENABLED() (0)
#define
MYSQL_INSERT_SELECT_START(arg0)
#define
MYSQL_INSERT_SELECT_START(arg0)
#define
MYSQL_INSERT_SELECT_START_ENABLED() (0)
#define
MYSQL_INSERT_SELECT_START_ENABLED() (0)
#define
MYSQL_INSERT_SELECT_DONE(arg0, arg1)
#define
MYSQL_INSERT_SELECT_DONE(arg0, arg1)
#define
MYSQL_INSERT_SELECT_DONE_ENABLED() (0)
#define
MYSQL_INSERT_SELECT_DONE_ENABLED() (0)
#define
MYSQL_UPDATE_START(arg0)
#define
MYSQL_UPDATE_START(arg0)
#define
MYSQL_UPDATE_START_ENABLED() (0)
#define
MYSQL_UPDATE_START_ENABLED() (0)
#define
MYSQL_UPDATE_DONE(arg0, arg1, arg2)
#define
MYSQL_UPDATE_DONE(arg0, arg1, arg2)
#define
MYSQL_UPDATE_DONE_ENABLED() (0)
#define
MYSQL_UPDATE_DONE_ENABLED() (0)
#define
MYSQL_MULTI_UPDATE_START(arg0)
#define
MYSQL_MULTI_UPDATE_START(arg0)
#define
MYSQL_MULTI_UPDATE_START_ENABLED() (0)
#define
MYSQL_MULTI_UPDATE_START_ENABLED() (0)
#define
MYSQL_MULTI_UPDATE_DONE(arg0, arg1, arg2)
#define
MYSQL_MULTI_UPDATE_DONE(arg0, arg1, arg2)
#define
MYSQL_MULTI_UPDATE_DONE_ENABLED() (0)
#define
MYSQL_MULTI_UPDATE_DONE_ENABLED() (0)
#define
MYSQL_DELETE_START(arg0)
#define
MYSQL_DELETE_START(arg0)
#define
MYSQL_DELETE_START_ENABLED() (0)
#define
MYSQL_DELETE_START_ENABLED() (0)
#define
MYSQL_DELETE_DONE(arg0, arg1)
#define
MYSQL_DELETE_DONE(arg0, arg1)
#define
MYSQL_DELETE_DONE_ENABLED() (0)
#define
MYSQL_DELETE_DONE_ENABLED() (0)
#define
MYSQL_MULTI_DELETE_START(arg0)
#define
MYSQL_MULTI_DELETE_START(arg0)
#define
MYSQL_MULTI_DELETE_START_ENABLED() (0)
#define
MYSQL_MULTI_DELETE_START_ENABLED() (0)
#define
MYSQL_MULTI_DELETE_DONE(arg0, arg1)
#define
MYSQL_MULTI_DELETE_DONE(arg0, arg1)
#define
MYSQL_MULTI_DELETE_DONE_ENABLED() (0)
#define
MYSQL_MULTI_DELETE_DONE_ENABLED() (0)
#define
MYSQL_NET_READ_START()
#define
MYSQL_NET_READ_START()
#define
MYSQL_NET_READ_START_ENABLED() (0)
#define
MYSQL_NET_READ_START_ENABLED() (0)
#define
MYSQL_NET_READ_DONE(arg0, arg1)
#define
MYSQL_NET_READ_DONE(arg0, arg1)
#define
MYSQL_NET_READ_DONE_ENABLED() (0)
#define
MYSQL_NET_READ_DONE_ENABLED() (0)
#define
MYSQL_NET_WRITE_START(arg0)
#define
MYSQL_NET_WRITE_START(arg0)
#define
MYSQL_NET_WRITE_START_ENABLED() (0)
#define
MYSQL_NET_WRITE_START_ENABLED() (0)
#define
MYSQL_NET_WRITE_DONE(arg0)
#define
MYSQL_NET_WRITE_DONE(arg0)
#define
MYSQL_NET_WRITE_DONE_ENABLED() (0)
#define
MYSQL_NET_WRITE_DONE_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_START(arg0, arg1, arg2, arg3)
#define
MYSQL_KEYCACHE_READ_START(arg0, arg1, arg2, arg3)
#define
MYSQL_KEYCACHE_READ_START_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_START_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_BLOCK(arg0)
#define
MYSQL_KEYCACHE_READ_BLOCK(arg0)
#define
MYSQL_KEYCACHE_READ_BLOCK_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_BLOCK_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_HIT()
#define
MYSQL_KEYCACHE_READ_HIT()
#define
MYSQL_KEYCACHE_READ_HIT_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_HIT_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_MISS()
#define
MYSQL_KEYCACHE_READ_MISS()
#define
MYSQL_KEYCACHE_READ_MISS_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_MISS_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_DONE(arg0, arg1)
#define
MYSQL_KEYCACHE_READ_DONE(arg0, arg1)
#define
MYSQL_KEYCACHE_READ_DONE_ENABLED() (0)
#define
MYSQL_KEYCACHE_READ_DONE_ENABLED() (0)
#define
MYSQL_KEYCACHE_WRITE_START(arg0, arg1, arg2, arg3)
#define
MYSQL_KEYCACHE_WRITE_START(arg0, arg1, arg2, arg3)
#define
MYSQL_KEYCACHE_WRITE_START_ENABLED() (0)
#define
MYSQL_KEYCACHE_WRITE_START_ENABLED() (0)
#define
MYSQL_KEYCACHE_WRITE_BLOCK(arg0)
#define
MYSQL_KEYCACHE_WRITE_BLOCK(arg0)
#define
MYSQL_KEYCACHE_WRITE_BLOCK_ENABLED() (0)
#define
MYSQL_KEYCACHE_WRITE_BLOCK_ENABLED() (0)
#define
MYSQL_KEYCACHE_WRITE_DONE(arg0, arg1)
#define
MYSQL_KEYCACHE_WRITE_DONE(arg0, arg1)
#define
MYSQL_KEYCACHE_WRITE_DONE_ENABLED() (0)
#define
MYSQL_KEYCACHE_WRITE_DONE_ENABLED() (0)
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
scripts/dheadgen.pl
100644 → 100755
View file @
8f407561
File mode changed from 100644 to 100755
sql/Makefile.am
View file @
8f407561
...
@@ -29,7 +29,7 @@ libexec_PROGRAMS = mysqld
...
@@ -29,7 +29,7 @@ libexec_PROGRAMS = mysqld
EXTRA_PROGRAMS
=
gen_lex_hash
EXTRA_PROGRAMS
=
gen_lex_hash
bin_PROGRAMS
=
mysql_tzinfo_to_sql
bin_PROGRAMS
=
mysql_tzinfo_to_sql
DTRACEFILES
=
filesort.o
\
DTRACEFILES
=
filesort.o
\
libndb_la-ha_ndbcluster.o
\
.libs/
libndb_la-ha_ndbcluster.o
\
handler.o
\
handler.o
\
mysqld.o
\
mysqld.o
\
net_serv.o
\
net_serv.o
\
...
@@ -208,9 +208,9 @@ install-exec-hook:
...
@@ -208,9 +208,9 @@ install-exec-hook:
if
HAVE_DTRACE_DASH_G
if
HAVE_DTRACE_DASH_G
libndb_la_LIBADD
=
probes_all.o
libndb_la_LIBADD
=
probes_all.o
libndb_la_DEPENDENCIES
=
probes_all.o dtrace_files dtrace_providers
libndb_la_DEPENDENCIES
=
dtrace_files dtrace_providers probes_all.o
mysqld_LDADD
+=
probes_all.o
mysqld_LDADD
+=
probes_all.o
mysqld_DEPENDENCIES
+=
probes_all.o dtrace_files dtrace_providers
mysqld_DEPENDENCIES
+=
dtrace_files dtrace_providers probes_all.o
CLEANFILES
+=
dtrace_files dtrace_providers probes_all.o
CLEANFILES
+=
dtrace_files dtrace_providers probes_all.o
DTRACEPROVIDER
=
$(abs_top_srcdir)
/sql/probes_mysql.d
DTRACEPROVIDER
=
$(abs_top_srcdir)
/sql/probes_mysql.d
...
@@ -223,7 +223,7 @@ DTRACEDIRS = . ../mysys $(patsubst %,$(top_builddir)/storage/%,@mysql_se_dirs@)
...
@@ -223,7 +223,7 @@ DTRACEDIRS = . ../mysys $(patsubst %,$(top_builddir)/storage/%,@mysql_se_dirs@)
probes_all.o
:
probes_mysql.d $(DTRACEFILES)
probes_all.o
:
probes_mysql.d $(DTRACEFILES)
providers
=
`
(
for
i
in
$(DTRACEDIRS)
;
do
cat
$$
i/dtrace_providers 2>/dev/null
;
done
)
|
tr
" "
"
\n
"
|
sort
|
uniq
|
sed
-e
'/^$$/d'
-e
's/^/-s /'
`
;
\
providers
=
`
(
for
i
in
$(DTRACEDIRS)
;
do
cat
$$
i/dtrace_providers 2>/dev/null
;
done
)
|
tr
" "
"
\n
"
|
sort
|
uniq
|
sed
-e
'/^$$/d'
-e
's/^/-s /'
`
;
\
objects
=
`
for
i
in
$(DTRACEDIRS)
;
do
f
=
\`
cat
$$
i/dtrace_files 2>/dev/null
\`
;
for
j
in
$$
f
;
do
test
-f
$$
i/
$$
j
&&
echo
-n
"
$$
i/
$$
j "
;
done
;
done
`
;
\
objects
=
`
for
i
in
$(DTRACEDIRS)
;
do
f
=
\`
cat
$$
i/dtrace_files 2>/dev/null
\`
;
for
j
in
$$
f
;
do
test
-f
$$
i/
$$
j
&&
echo
"
$$
i/
$$
j "
;
done
;
done
`
;
\
$(DTRACE)
$(DTRACEFLAGS)
-G
$$
providers
$$
objects
-o
$@
$(DTRACE)
$(DTRACEFLAGS)
-G
$$
providers
$$
objects
-o
$@
endif
endif
...
...
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