The programs used in the Performance Analyzer tutorials are included in a distribution that includes code used for all the Oracle Developer Studio tools. Use the following instructions to obtain the sample code if you have not previously downloaded it.
Go to the Oracle Developer Studio 12.5 Sample Applications page at the Oracle Developer Studio web page http://www.oracle.com/technetwork/server-storage/solarisstudio.
Navigate to the downloads section of the Oracle Developer Studio web page.
Read the license from the link on the page and accept by selecting Accept.
Download the zip file by clicking its link and unzip using instructions on the download page.
After you download and unpack the sample files, you can find the samples in the OracleDeveloperStudio12.5-Samples/PerformanceAnalyzer directory.
Note that the directory includes some additional samples that are not described in this document: cachetest, ksynprog, omptest, and synprog. Each sample subdirectory includes a Makefile and a README file with instructions that you can use for some additional demonstrations of Performance Analyzer.