Multithreaded Programming Guide

Exit Print View

Updated: July 2014
 
 

Profiling a Multithreaded Program

The profil() system call for multithreaded processes has global impact on all LWPs and threads in the process. Threads cannot use profil() for individual thread profiling. See the profil(2) man page for more information.


Tip  -  The Performance Analyzer tool, included in the Oracle Solaris Studio software, can be used for extensive profiling of multithreaded and single threaded programs. The tool enables you to see in detail what a thread is doing at any given point. See the Oracle Solaris Studio 12.3: Performance Analyzer for more information.