The call stack samples can be collected for C, C++, and Java applications with all the CPU profile types. These samples will be used to provide Flame Graph and Call Graph window.
Note: Java call stack profiling is supported only on Linux
platforms.
Complete the following steps to enable call stack sampling:
- Select the profile target and profile type.
- Click the Advanced Options button to
turn on the Enable CSS option in the
Call Stack Options pane.Figure 1. Start Profiling - Advanced Options
See Advanced Options for more information on this screen.
Note: If the application is compiled with higher optimization levels and frame pointers are not displayed, you can turn on the Enable FPO option. On Linux, this will increase the size of the raw profile file size.