Mikael Ronström
2008-May-16 22:53 UTC
[dtrace-discuss] Next finding about DTrace in MySQL
Hi, My next finding about an application where I tried to have 2 providers in the same binary. If I put the ndb_blocks provider first I get access to all of those and when I have ndb_vm I get access to that provider but not to both at the same time (I''ve seen both before so I gather this is another DTrace bug). Rgrds Mikael
On Sat, May 17, 2008 at 12:53:14AM +0200, Mikael Ronstr?m wrote:> My next finding about an application where I tried to have 2 > providers in the same binary. > If I put the ndb_blocks provider first I get access to all of those > and when I have ndb_vm I > get access to that provider but not to both at the same time (I''ve > seen both before so I gather > this is another DTrace bug).This is a bug, and I believe it has been discussed previously on the list, but I can''t seem to track down the bug ID. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
Mikael Ronström
2008-May-17 06:54 UTC
[dtrace-discuss] Next finding about DTrace in MySQL
Hi Adam, 17 maj 2008 kl. 03.45 skrev Adam Leventhal:> On Sat, May 17, 2008 at 12:53:14AM +0200, Mikael Ronstr?m wrote: >> My next finding about an application where I tried to have 2 >> providers in the same binary. >> If I put the ndb_blocks provider first I get access to all of those >> and when I have ndb_vm I >> get access to that provider but not to both at the same time (I''ve >> seen both before so I gather >> this is another DTrace bug). > > This is a bug, and I believe it has been discussed previously on > the list, > but I can''t seem to track down the bug ID. >So with this limitation and the limitation that dtrace -G -s only applies to object files and not to libraries the only workaround I find is that one needs to build all object files in them same directory as the binary or can anyone come up with a different workaround. Rgrds Mikael> Adam > > -- > Adam Leventhal, Fishworks http:// > blogs.sun.com/ahl >
Hi Mikael,> So with this limitation and the limitation that dtrace -G -s only > applies to object > files and not to libraries the only workaround I find is that one > needs to build all > object files in them same directory as the binary or can anyone come > up with > a different workaround.When Adam comes online later today I''ll have a chat with him about these issues. One of us will pick them up. We''ll contact you offline. Jon.