From nobody@FreeBSD.org  Fri Apr 13 21:37:11 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6BCAD1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 21:37:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3E5FD8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 21:37:09 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3DLb9Wg077582
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 21:37:09 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3DLb9xH077581;
	Fri, 13 Apr 2012 21:37:09 GMT
	(envelope-from nobody)
Message-Id: <201204132137.q3DLb9xH077581@red.freebsd.org>
Date: Fri, 13 Apr 2012 21:37:09 GMT
From: Ryan Stone <rstone@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: deferred DTrace probes never match if executable linked with -E
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166924
>Category:       kern
>Synopsis:       [dtrace] deferred DTrace probes never match if executable linked with -E
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markj
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 21:40:07 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Apr 21 17:20:27 UTC 2014
>Originator:     Ryan Stone
>Release:        8-STABLE
>Organization:
>Environment:
>Description:
If I link the USDT example on the wiki[1] with -Wl,-E and then run it with dtrace -c ./db -n 'database*:::', the USDT probes never match.

If I link without -E it works.

[1] http://wiki.freebsd.org/DTrace/userland
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gnn 
Responsible-Changed-By: rstone 
Responsible-Changed-When: Mon Apr 16 19:26:11 UTC 2012 
Responsible-Changed-Why:  
over to gnn 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166924 
Responsible-Changed-From-To: gnn->markj 
Responsible-Changed-By: gnn 
Responsible-Changed-When: Mon Apr 21 17:20:18 UTC 2014 
Responsible-Changed-Why:  
Hand over to the person doing most of the DTrace work. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=166924 
>Unformatted:
