Hey Chris,

I'm not aware of any work around, but this is a known issue and something
that we'd like to address. Sorry I can't be more helpful.

Adam

On Tue, Sep 16, 2008 at 03:04:42PM -0400, Christopher Dumoulin wrote:
> Hi All,
> I've got a problem when I have USDT probes in a static library and in 
> the application code outside of the library.
> 
> I build the static library containing some USDT probes, glomming 
> everything together (ld -r) before creating the .a file to preserve the 
> probe symbols. This all works fine.
> I build an application which also has some USDT probes.
> 
> When I build the application which links to the static library, the USDT 
> probes from the static library no longer show up with dtrace -l, but the 
> application's USDT probes are there.
> If I build the same application without running dtrace -G on the 
> application's object files, the USDT probes from the static library are 
> available.
> 
> Is there a way that I can have USDT probes from both the static library 
> and the application at the same time?
> 
> Regards,
> Chris Dumoulin
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org

-- 
Adam Leventhal, Fishworks                     http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to