Bug #52790 | Autconf Check for DTrace Assumes it is only available on Solaris | ||
---|---|---|---|
Submitted: | 13 Apr 2010 16:03 | Modified: | 12 Aug 2010 10:41 |
Reporter: | Padraig O'Sullivan (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.5+ | OS: | Any (Linux, Mac OS X) |
Assigned to: | CPU Architecture: | Any | |
Tags: | DTrace, systemtap |
[13 Apr 2010 16:03]
Padraig O'Sullivan
[13 Apr 2010 16:21]
Valeriy Kravchuk
Thank you for the problem report. Verified (also with mysql-next-mr tree) by code review.
[21 Apr 2010 11:33]
Vladislav Vaintroub
Works fine when built with CMake (on Solaris, OSX and Linux with systemtap)
[12 Aug 2010 10:41]
Alexey Kopytov
We do not assume that DTrace is only available on Solaris. The quoted snippet only assumes that the '-G' switch to the dtrace command is only available on Solaris (which is true as far as I know). The actual availability of DTrace is tested by looking if the dtrace utility is available in either $PATH or /usr/sbin. That definitely works on OS X, and it should work with SystemTap as well. Changing to "Not a Bug".