Bug 141386 - Replace HAVE(DTRACE) with ENABLE(DTRACE)
Summary: Replace HAVE(DTRACE) with ENABLE(DTRACE)
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 05:26 PST by Ting-Wei Lan
Modified: 2015-02-09 21:13 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2015-02-09 05:26:44 PST
DTrace is only enabled on Cocoa platform currently via HAVE(DTRACE). It will be nice to have DTrace enabled on other operating systems, such as Solaris, FreeBSD and NetBSD. However, we may not be able to simply add HAVE(DTRACE) to those operating systems because:

 1. Building with DTrace support may require additional kernel modules to be loaded, which requires root priveleges.
 2. Some operating systems do not support DTrace on all architectures.
 3. Some operating systems do not support DTrace in their default configuration.

Therefore, before testing DTrace on non-Cocoa platforms, I hope we should replace HAVE(DTRACE) with ENABLE(DTRACE), so users can disable it when their environments cannot support building with DTrace.