Bug 129600

Summary: Add HAVE_DTRACE_KERN to bsd.port.mk
Product: Ports & Packages Reporter: Steven Kreuzer <skreuzer>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Steven Kreuzer 2008-12-12 19:40:01 UTC
The attached patch will check for the existence of the debug.dtrace.providers sysctl and if found, set HAVE_DTRACE_KERN to YES.

This will allow you to check if a kernel has dtrace support compiled in and then build applications with dtrace probes if they are available

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-12 19:40:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2009-01-06 21:02:06 UTC
State Changed
From-To: open->feedback

This would result in 19500 sysctl calls on an INDEX build. Can you rework this, 
so the variable is only evaluated when needed/accessed?
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-24 16:44:18 UTC
State Changed
From-To: feedback->closed

Feedback timeout