Skip to content

Check for dtrace and only enable its use if found #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2017

Conversation

tachoknight
Copy link
Contributor

@tachoknight tachoknight commented Dec 27, 2017

The Fedora flavor of Linux does not include dtrace, while Ubuntu does. This pull request checks for the presence of the dtrace program. If found it will set the ENABLE_DTRACE_DEFAULT variable to ON, otherwise OFF.

@tachoknight tachoknight force-pushed the master branch 2 times, most recently from c979f6d to 40852eb Compare December 27, 2017 16:50
@tachoknight tachoknight changed the title Check for dtrace on Linux and only enable its use if found Check for dtrace and only enable its use if found Dec 27, 2017
@tachoknight
Copy link
Contributor Author

I changed the title of the pull request to reflect the fact that we should check for dtrace regardless of whether we're on Linux or not.

@MadCoder MadCoder merged commit 244a5fe into swiftlang:master Dec 28, 2017
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
Check for dtrace and only enable its use if found

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants