You can collect three types of data:
Address space -- Process address space represented as a series of segments, each of which contains a number of pages
Execution profile (excluding called function times) -- Time consumed by functions (but not called functions), modules, and segments during execution
Execution profile (including called function times) -- Time consumed by functions (including called functions), modules, and segments during execution
For more information on choosing the type of data to collect, see Analyzing Program Performance With Sun WorkShop, and "Choosing the Type of Data to Collect" in the Sun Workshop online help.