| Sun WorkShop(TM) 6 Sampling Analyzer Readme |
| Introduction
This document contains last-minute information about the final release of the Sun WorkShop(TM) 6 Sampling Analyzer. It describes the software corrections addressed by this release and lists the known problems, limitations, and incompatibilities. To view the text version of this document, type the following at a command prompt: example% more /<install-directory>/SUNWspro/READMEs/analyzer.readme To access the HTML version of this document, point your Netscape(TM) Communicator 4 or compatible Netscape version browser to: file:<install-directory>/SUNWspro/docs/index.html Replace <install-directory> with the path to your Sun WorkShop installation directory. In a default installation, <install-directory> is /opt. Note - If your Sun WorkShop software is not installed in the /opt directory, ask your system administrator for the equivalent path on your system. For more information about this product, see:
These documents are accessible in HTML by pointing your browser to <install-directory>/SUNWspro/docs/index.html. Replace <install-directory> with the path to your Sun WorkShop installation directory. In a default installation, <install-directory> is /opt. Note - If your Sun WorkShop software is not installed in the /opt directory, ask your system administrator for the equivalent path on your system.
Contents
A. About the Analyzer Used in combination with the Sampling Collector, the Analyzer provides a means of examining program performance and isolating inefficient code. The Analyzer runs on the Solaris(TM) 2.6, 7, and 8 Operating Environment. The Analyzer has been redesigned and enhanced to the point that it is essentially a new product. The best way to find out about the new Analyzer is to read the online help and the Analyzer and Collector man pages. B. Patches Not Included in This Release The following patches, which are needed for the Collector and Analyzer to operate properly, are not included in this release:
The Collector and Analyzer encounter the following problems when the patches are not installed:
The workaround for all these problems is to install the required patches. The patches are available at the following URL: http://sunsolve.sun.com C. Problems and Workarounds For updates, check Hot News for Sun WorkShop 6 ( http://www.sun.com/workshop/users/ws.html). Note - Some bugs that appear to be in the Analyzer may actually be Collector bugs. For information about these bugs, see the dbx readme and the Collector man page. Function <Unknown>Under some circumstances, a PC cannot be mapped to a known function, so it is mapped to function <Unknown>. This happens for .mul and .div in libc in V7 compiles, all parts of ld.so, and _start in V9 Fortran programs. If <Unknown> represents a significant part of your data, please report it as a bug. Stack Unwind ProblemsIn some cases, stack unwind may not completely unwind the stack. When this happens, inclusive metrics for functions above the point of failure do not count events where the stack unwind failed. All such points show as callees of the pseudofunction <Total>. Lost Profiling Data for LWPsUnder some circumstances profiling interrupts for one or more LWPs may be lost. When this happens, data displayed does not include thread profile metrics for threads run on those LWPs. Measurement of Optimized CodeMeasurements on highly optimized code may be difficult to interpret. Inlined functions do not appear, and source line metrics may show data on lines that were not executed and not show data on lines that were. You can best interpret the data by looking at the annotated disassembly. C. Limitations and Incompatibilities Hardware-Counter Overflow Profiling Hardware-counter overflow profiling is not implemented for Sun WorkShop 6. Finding Source and Object FilesThe executable name generated by the debugger for attached experiments may be a relative path, not an absolute path, or the path, even though absolute, may not be accessible to the Analyzer. Similar problems can arise with object files loaded from an archive (.a). The Analyzer copes with this problem as follows:
At this point you can look at the Summary Metrics window to determine the file name the Analyzer is using, then set up a symbolic link from the current directory pointing to the real file and try the operation again. Experiment Record IncompatibilityThe Analyzer cannot load experiment records created with earlier versions of the current Collector. It reports, "Unrecognized version number; expected 8". Recording over NFSRecording data across NFS causes excessive system wait times that may distort the measured data. If at all possible, record to a local disk. D. Documentation Errata There is no new information at this time. Copyright 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303, U.S.A. All rights reserved. Sun, Sun Microsystems, the Sun logo, docs.sun.com, and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc.s in the U.S. and other countries. |