Re: [dtrace-discuss] Next finding about DTrace in MySQL

2008-05-16 Thread Mikael Ronström
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 wh

Re: [dtrace-discuss] JAVA Hex address to symbol translation

2008-05-16 Thread michael schuster
Mehdi Tondravi wrote: > Is there a way to get the symbolic name for stack back trace (e.g. jstack(30, > 2500))? > I get hex addresses and have tried out various things but still do not get > symbolic name. I've never played with Java & DTrace, but if the regular pid provider is anything to go b

[dtrace-discuss] JAVA Hex address to symbol translation

2008-05-16 Thread Mehdi Tondravi
Is there a way to get the symbolic name for stack back trace (e.g. jstack(30, 2500))? I get hex addresses and have tried out various things but still do not get symbolic name. Thanks, Mehdi Tondravi -- This message posted from opensolaris.org ___ dtr

Re: [dtrace-discuss] Next finding about DTrace in MySQL

2008-05-16 Thread 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

Re: [dtrace-discuss] Question about dtrace -G -s x.d

2008-05-16 Thread Adam Leventhal
On Sat, May 17, 2008 at 01:17:11AM +0200, Mikael Ronstr?m wrote: > I'm wondering about what dtrace -G -s probes.d code.o is doing. > Does this command change the code.o object file or is it only > creating an probes.o > object file. I'm wondering how I can gather many dtrace probes from many > di

[dtrace-discuss] Question about dtrace -G -s x.d

2008-05-16 Thread Mikael Ronström
Hi, I'm wondering about what dtrace -G -s probes.d code.o is doing. Does this command change the code.o object file or is it only creating an probes.o object file. I'm wondering how I can gather many dtrace probes from many different directories in one provider to see if this is possible. Rgrds

Re: [dtrace-discuss] Fwd: DTrace bug with 6 parameters to C++ function containing multiple DTrace probe entries

2008-05-16 Thread Mikael Ronström
Hi Adam, Ok, I'll file a bug a bit later, easiest manner I gather is to simply upload the non-functional MySQL source tarball with a description of how to build it and run it. Rgrds Mikael 16 maj 2008 kl. 23.46 skrev Adam Leventhal: > Hi Mikael, > > You can file bugs at bugs.opensolaris.org.

[dtrace-discuss] Next finding about DTrace in MySQL

2008-05-16 Thread Mikael Ronström
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 a

Re: [dtrace-discuss] Fwd: DTrace bug with 6 parameters to C++ function containing multiple DTrace probe entries

2008-05-16 Thread Adam Leventhal
Hi Mikael, You can file bugs at bugs.opensolaris.org. The information you've provided isn't really sufficient to be able to diagnose the problem (for example, what provider are you talking about). Please provide as much relevant detail as you can, and any relevant output from dtrace(1M). Adam On

Re: [dtrace-discuss] Fwd: DTrace bug with 6 parameters to C++ function containing multiple DTrace probe entries

2008-05-16 Thread Mikael Ronström
Hi, After making a workaround in removing the last attribute and shortening the name of the probe I found that unfortunately now the entire provider is gone when I do dtrace -l which is a tad unfortunate :( Rgrds Mikael 16 maj 2008 kl. 20.47 skrev Mikael Ronström: Hi, Had to forward to another

[dtrace-discuss] Fwd: DTrace bug with 6 parameters to C++ function containing multiple DTrace probe entries

2008-05-16 Thread Mikael Ronström
Hi, Had to forward to another email box to be able to send it :( Hi, I don't know how to file bugs towards DTrace yet, but here seems to be one anyways. I made a DTrace probe that was part of an inline function, this inline function was called in numberous places. However one of those plac

[dtrace-discuss] DTrace Java API on Mac OS?

2008-05-16 Thread Jon Haslam
Hi, Question for the Apple team I guess... Do Apple have any plans to ship the DTrace Java API anytime? Just to be clear, I'm referring to the code under: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace_jni Thanks. Jon. ___

Re: [dtrace-discuss] how can we use libdtrace within the DTrace security restrictions?

2008-05-16 Thread Matt Ingenthron
Thanks much Adam! Adam Leventhal wrote: > > Take a look at the chapter on security: > > http://wikis.sun.com/display/DTrace/Security > > In particular, check the note in the dtrace_proc section. Sounds like that'll solve what we need. I did look in the docs, but must have missed this. Thank

Re: [dtrace-discuss] how can we use libdtrace within the DTrace security restrictions?

2008-05-16 Thread Adam Leventhal
Hey Matt, > We've tried giving the user the dtrace_proc, dtrace_kernel and > dtrace_user privileges, but the user cannot see or use the providers > in > the process owned by another user. Running by root or pfexec with > Primary Admin profile works. Is this by design? Is there any good > wa