OpenSolaris

Printable Version Enter a New Search
Bug ID 6356708
Synopsis libdtrace should interrogate providers, open devices via /dev.
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:dtrace
Keywords zones
Responsible Engineer Daniel Price
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_31
Fixed In snv_31
Release Fixed solaris_nevada(snv_31) , solaris_10u4(s10u4_03) (Bug ID:2139213)
Related Bugs 6316450 , 4970596
Submit Date 29-November-2005
Last Update Date 17-February-2007
Description
In preparation for future work which will allow DTrace to be used
in a limited fashion inside a zone, we need to make DTrace's devices
available to non-global zones.  I'm proposing:

         $ find /dev/dtrace                                                    
         /dev/dtrace                                                           
         /dev/dtrace/providers                                                 
         /dev/dtrace/providers/lockstat                                        
         /dev/dtrace/providers/systrace                                        
         /dev/dtrace/providers/fbt                                             
         /dev/dtrace/providers/sdt                                             
         /dev/dtrace/providers/fasttrap                                        
         /dev/dtrace/dtrace                                                    
         /dev/dtrace/helper                                                    

Which is to say, all of the dtrace devices on the system will be made available
via /dev. This is nice, since libdtrace will no longer need to grot around in
various isa directories for this information.

(n.b.: I'm awaiting an OK from Mike and/or Adam about whether the directory
structure is OK with them).

In a later putback, we'll expose some of these devices inside zones.  Since
none of this pre-work has any real user visible impact, I propose to go
ahead and get it done sooner rather than later.
Work Around
N/A
Comments
N/A