Performance Data Collection on Multithreaded Programs
Data collection for multithreaded applications is supported in dbx with some restrictions and limitations:
- You cannot collect information about the code that executes in the init sections of shared libraries (a.out is ok).
- For multithreaded applications, you can attach to the process, and start the collector for profiling. You must follow the instructions in the collector(1) man page to do so.
- If you are collecting thread synchronization trace data, you must have preloaded libcollector.so with LD_PRELOAD before starting the execution of the program.