Bug #59206 DTrace is not enabled on official Solaris binaries
Submitted: 29 Dec 2010 8:08 Modified: 25 Oct 2018 6:42
Reporter: Mikiya Okuno Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5 OS:Solaris
Assigned to: CPU Architecture:Any

[29 Dec 2010 8:08] Mikiya Okuno
Description:
DTrace is not enabled on official MySQL 5.5.8 binaries for Solaris, but I'm able to enable DTrace when I compile it from source using SolarisStudio 12. I guess simply the option is not enabled when building it or the binaries were built using GCC.

I confirmed that DTrace is enabled on OSX 10.6 binaries.

The problem is also reported on the forum: http://forums.mysql.com/read.php?117,391447,391447

How to repeat:
You can see DTrace is not enabled using the following command:

shell> su
shell> dtrace -l -P mysql`pgrep -x mysqld`

Suggested fix:
Simply use SolarisStudio12 and enable DTrace option ;)
[29 Mar 2011 14:33] Vladislav Vaintroub
It must be something simple, e.g PATH setting in the build environment, such as dtrace is not found.
[25 Oct 2018 6:42] Erlend Dahl
The latest packages (5.5, 5.6, 5.7) are built with DTrace support. DTrace support was deprecated in 5.7 and removed in 8.0.