Bug 141386

Summary: Replace HAVE(DTRACE) with ENABLE(DTRACE)
Product: WebKit Reporter: Ting-Wei Lan <lantw44>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.