Hi, I heard that Solaris RR releases contain stripped modules. Does this mean we can not trace symbols in fbt and pid providers of Solaris RR releases? THX. -- ************************************************ * C P Lin, Common Technology Project Lead. * * Sun Microsystems Inc. * * E-Mail: c.lin at sun.com * * Address: 4150 Network Circle, M/S UMPK12-330 * * Santa Clara, CA 95054 * * Phone: 650/352-4967 Fax: 650/786-7816 * ************************************************
> Hi, > > I heard that Solaris RR releases contain stripped modules. > Does this mean we can not trace symbols in fbt and pid > providers of Solaris RR releases? > > THX.That isn''t correct: Solaris kernel modules and Solaris libraries are not stripped. However, ISVs are of course free to strip their software and this will have some impact on certain DTrace capabilities, such as the ability to specify pid provider function names or see symbols in ustack(). -Mike -- Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
On Mon, Jan 23, 2006 at 08:02:37AM -0800, CHIAN-PHON LIN wrote:> Hi, > > I heard that Solaris RR releases contain stripped modules. > Does this mean we can not trace symbols in fbt and pid > providers of Solaris RR releases?Solaris 10 did ship with *programs* (but not shared objects) stripped, but you can still use the pid provider to trace exported library functions. The next release of Solaris will not strip any binaries. Nico --
Michael Shapiro wrote:> That isn''t correct: Solaris kernel modules and Solaris libraries are not > stripped. However, ISVs are of course free to strip their software and > this will have some impact on certain DTrace capabilities, such as the > ability to specify pid provider function names or see symbols in ustack().Most of the desktop libraries (X11, GNOME, CDE, etc.) have had strip -x done during the build, which I believe only removes the line number information and not the symbol names so that dtrace should still be able to work with them. (Many of them used to be completely stripped, but we''ve backed down to strip -x as the cost of the amount of additional disk space used became trivial.) -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering
Nicolas Williams wrote:> The next release of Solaris will not strip any binaries.Only if someone works at the Solaris Nevada P-Team to coordinate with all consolidations to change their builds. Otherwise, read "the ON consolidation" everytime someone in this thread says "Solaris" as many engineers forget that ON is only about 1/4 of Solaris. -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering