CodeAnalyst Options

CodeAnalyst options controls how AMD CodeAnalyst displays profile data and its toolbar and how it finds source and debug information. These options are persistent and are effective across projects and sessions. They affect the CodeAnalyst application as a whole.

CodeAnalyst options are changed using the CodeAnalyst Options dialog box. The dialog box contains following tabs:

Open the CodeAnalyst Options dialog box by clicking the CodeAnalyst Options icon  in the toolbar. Or you may open the CodeAnalyst Options dialog box by selecting Tools > CodeAnalyst Options from the pull-down menu.

General Tab

The General tab controls the display of source code and disassembler instructions.

CodeAnalyst follows the usual Windows conventions for accepting or canceling changes to options. Clicking the Apply button activates the new options. Clicking the OK button activates the new options and closes the dialog box. Clicking the Cancel button closes the dialog box without applying changes.

Source Code Display

If the Bypass Source (Disassembly Only) check box is selected, double-clicking a sample address in a module opens the Assembly View. Selecting the Alert when no source is available check box displays an alert message when CodeAnalyst cannot find the source for a module.

Data Aggregation

CodeAnalyst allows three different methods for aggregate data. Two modes are specifically designed to help analysis of in-line functions:

Another mode of aggregation is designed to aid basic block analysis (BBA).

Directories Tab

This tab allows the specification of directory paths to help CodeAnalyst find the information that it needs for analysis. An additional search path for finding source can be specified in the Source File Search Paths field.

 

Oprofile Tab

The controls on this tab are described in the following table.

Control

Description

No vmlinux

Check No vmlinux to profile without the kernel image. The option equals "--no-vmlinux" option in Oprofile.

vmlinux

Use the vmlinux field to specify the vmlinux file. If vmlinux is compressed, uncompress it first.

Oprofile Plugin

Select the version of Oprofile plugin to be used by CodeAnalyst.

Buffer Size

The Kernel buffer size field is used to specify the kernel buffer size for sample input.

CPU Buffer Size

Specify the buffer size for each CPU to hold samples.