Adam,

I'd follow up to see if there is any progress on this issue:
a static library and an application cannot currently provide USDT probes 
simultaneously?

thanks,
jenny

   Luojia(Jenny) Chen              
   Software Engineer                 
   ISV Engineering      
   v-mail:(510) 550-2394                                  
   SUN Microsystems

----- Original Message -----
From: Adam Leventhal <[email protected]>
Date: Wednesday, September 17, 2008 7:17 pm
Subject: Re: [dtrace-discuss] USDT probes in both static library        and     
application
To: Christopher Dumoulin <[email protected]>
Cc: [email protected]


> 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
> > [email protected]
> 
> -- 
> Adam Leventhal, Fishworks                     http://blogs.sun.com/ahl
> _______________________________________________
> dtrace-discuss mailing list
> [email protected]
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to