Bug #40468 | Storage engines code cannot be instrumented with DTrace probes | ||
---|---|---|---|
Submitted: | 1 Nov 2008 13:48 | Modified: | 27 Feb 2019 9:25 |
Reporter: | Alexey Kopytov | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S4 (Feature request) |
Version: | 6.0-dtrace | OS: | Solaris |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[1 Nov 2008 13:48]
Alexey Kopytov
[27 Mar 2009 8:07]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/70633 2742 Alexey Kopytov 2009-03-27 Bug #40468: Storage engines code cannot be instrumented with DTrace probes This patch changes the way we build DTrace-enabled binary to allow inserting probes into code outside of sql/, namely mysys and storage engines. A few additional probes were added to test the idea. As a side effect of this build system overhaul, DTrace-enabled binary can now be built on Mac OS X. This patch also enables DTrace support by default on those platforms that have it. removed: storage/falcon/falcon_probes.d storage/falcon/falcon_probes.h added: include/probes_mysql_nodtrace.h scripts/dheadgen.pl storage/falcon/probes_falcon.d storage/falcon/probes_falcon.h storage/falcon/probes_falcon_nodtrace.h renamed: sql/probes.d => sql/probes_mysql.d sql/probes.h => include/probes_mysql.h modified: config/ac-macros/dtrace.m4 include/Makefile.am libmysql/Makefile.am libmysql/Makefile.shared libmysqld/Makefile.am mysys/Makefile.am mysys/mf_keycache.c scripts/Makefile.am sql/Makefile.am sql/backup/Makefile.am sql/backup/kernel.cc sql/filesort.cc sql/ha_ndbcluster.cc sql/handler.cc sql/mysql_priv.h sql/mysqld.cc sql/net_serv.cc sql/scheduler.cc sql/sp_head.cc sql/sql_cache.cc sql/sql_connect.cc sql/sql_cursor.cc sql/sql_delete.cc sql/sql_insert.cc sql/sql_parse.cc sql/sql_prepare.cc sql/sql_select.cc sql/sql_update.cc storage/archive/Makefile.am storage/archive/ha_archive.cc storage/blackhole/Makefile.am storage/blackhole/ha_blackhole.cc storage/csv/Makefile.am storage/csv/ha_tina.cc storage/example/Makefile.am storage/example/ha_example.cc storage/falcon/Makefile.am storage/falcon/ha_falcon.cpp storage/falcon/ha_falcon.h storage/federated/Makefile.am storage/federated/ha_federated.cc storage/federated/ha_federated.h storage/heap/Makefile.am storage/heap/ha_heap.cc storage/maria/Makefile.am storage/maria/ha_maria.cc storage/myisam/Makefile.am storage/myisam/ha_myisam.cc storage/myisammrg/Makefile.am storage/myisammrg/ha_myisammrg.cc sql/probes_mysql.d include/probes_mysql.h
[27 Mar 2009 13:53]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/70706 2742 Alexey Kopytov 2009-03-27 Bug #40468: Storage engines code cannot be instrumented with DTrace probes This patch changes the way we build DTrace-enabled binary to allow inserting probes into code outside of sql/, namely mysys and storage engines. A few additional probes were added to test the idea. As a side effect of this build system overhaul, DTrace-enabled binary can now be built on Mac OS X. This patch also enables DTrace support by default on those platforms that have it. removed: removed: storage/falcon/falcon_probes.d storage/falcon/falcon_probes.h added: include/probes_mysql_nodtrace.h scripts/dheadgen.pl storage/falcon/probes_falcon.d storage/falcon/probes_falcon.h storage/falcon/probes_falcon_nodtrace.h renamed: sql/probes.d => sql/probes_mysql.d sql/probes.h => include/probes_mysql.h modified: config/ac-macros/dtrace.m4 include/Makefile.am libmysql/Makefile.am libmysql/Makefile.shared libmysqld/Makefile.am mysys/Makefile.am mysys/mf_keycache.c scripts/Makefile.am sql/Makefile.am sql/backup/Makefile.am sql/backup/kernel.cc sql/filesort.cc sql/ha_ndbcluster.cc sql/handler.cc sql/mysql_priv.h sql/mysqld.cc sql/net_serv.cc sql/scheduler.cc sql/sp_head.cc sql/sql_cache.cc sql/sql_connect.cc sql/sql_cursor.cc sql/sql_delete.cc sql/sql_insert.cc sql/sql_parse.cc sql/sql_prepare.cc sql/sql_select.cc sql/sql_update.cc storage/archive/Makefile.am storage/archive/ha_archive.cc storage/blackhole/Makefile.am storage/blackhole/ha_blackhole.cc storage/csv/Makefile.am storage/csv/ha_tina.cc storage/example/Makefile.am storage/example/ha_example.cc storage/falcon/Makefile.am storage/falcon/ha_falcon.cpp storage/falcon/ha_falcon.h storage/federated/Makefile.am storage/federated/ha_federated.cc storage/federated/ha_federated.h storage/heap/Makefile.am storage/heap/ha_heap.cc storage/maria/Makefile.am storage/maria/ha_maria.cc storage/myisam/Makefile.am storage/myisam/ha_myisam.cc storage/myisammrg/Makefile.am storage/myisammrg/ha_myisammrg.cc sql/probes_mysql.d include/probes_mysql.h
[27 Feb 2019 9:25]
Jon Olav Hauglid
Posted by developer: As of 8.0.1, support for DTrace probes has been removed from MySQL.