[dtrace-discuss] anonymous dtrace?

2009-03-25 Thread Nishchaya Bahuguna
Hello experts, I heard that there is something called anonymous dtrace that would still be running when I do a reboot. Basically, I have the following problem: The /boot/solaris/bootenv.rc file in my alternate boot environment is getting modified when I reboot the machine after doing

Re: [dtrace-discuss] anonymous dtrace?

2009-03-25 Thread Chip Bennett
Nishchaya, In addition to the official documentation at http://wikis.sun.com/display/DTrace/Anonymous+Tracing you could also take a look at http://www.laurustech.com/Learning%20DTrace_Part5.pdf under the title Anonymous Tracing. Chip -Original Message- From:

Re: [dtrace-discuss] anonymous dtrace?

2009-03-25 Thread bob netherton
This doesn't address your Dtrace question, but may set you off on the right path :-) The /boot/solaris/bootenv.rc file in my alternate boot environment is getting modified when I reboot the machine after doing luactivate ABE. It happens only on init 6, doesn't happen when I do a simple

Re: [dtrace-discuss] anonymous dtrace?

2009-03-25 Thread Nishchaya Bahuguna
Thanks Chip. I would try out the things listed there and get back in case of queries. Regards, Nishchaya Chip Bennett wrote: Nishchaya, In addition to the official documentation at http://wikis.sun.com/display/DTrace/Anonymous+Tracing you could also take a look at

[dtrace-discuss] Lock ordering?

2009-03-25 Thread James McIlree
I'm looking at a hang/stall while dtrace'ing on heavily loaded systems. I've got the following scenario: Kernel Thread A is waiting to acquire tthe dtrace_meta_lock Kernel Thread B owns the dtrace_meta_lock, and is waiting on the dtrace_provider_lock Kernel Thread C owns the

[dtrace-discuss] Use of _KERNEL in sys/sdt.h

2009-03-25 Thread Amit Saha
Hi all, In 'uts/common/sys/sdt.h' (http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/sdt.h), the 'DTRACE_PROBE*' macros are defined for #ifndef _KERNEL and otherwise. Is it to ensure the availability of the macros to both user and kernel space code ? Thanks, Amit --

Re: [dtrace-discuss] Use of _KERNEL in sys/sdt.h

2009-03-25 Thread Rayson Ho
On 3/25/09, Amit Saha amitsaha...@gmail.com wrote: the 'DTRACE_PROBE*' macros are defined for #ifndef _KERNEL and otherwise. Is it to ensure the availability of the macros to both user and kernel space code ? That's the basic idea, SDT probes can be placed in kernel and user code. And one

Re: [dtrace-discuss] Use of _KERNEL in sys/sdt.h

2009-03-25 Thread Amit Saha
Hello Rayson, On Thu, Mar 26, 2009 at 11:09 AM, Rayson Ho rayray...@gmail.com wrote: On 3/25/09, Amit Saha amitsaha...@gmail.com wrote: the 'DTRACE_PROBE*' macros are defined for #ifndef _KERNEL and otherwise. Is it to ensure the availability of the macros to both user and kernel space code