AMD Logo AMD Developer Central

AMD CodeAnalyst Performance Analyzer for Linux®
Skip Navigation LinksHome > CPU Tools > AMD CodeAnalyst Performance Analyzer > AMD CodeAnalyst Performance Analyzer for Linux

Overview
AMD CodeAnalyst Performance Analyzer for Linux is an open source, front-end graphical user interface to Oprofile. The graphical user interface simplifies the process of collecting performance data and enhances data analysis. Profiles are shown in both tabular and chart form. Users can drill down from system-level processes and modules to source code or instructions.

AMD CodeAnalyst taps into the performance monitoring capabilities of AMD processors. AMD CodeAnalyst supports the collection of up to 32 performance events in a single test run. This capability makes it easier to stage performance experiments. AMD CodeAnalyst also supports Instruction-Based Sampling (IBS) – a new performance measurement technique available on AMD Family 10h processors.

» Check out the “Introduction to CodeAnalyst” video

Oprofile with Support for the Latest AMD Processors

AMD CodeAnalyst also provides Oprofile command line tools (i.e. opcontrol, opreport, and opannotate) with up-to-date support for the latest AMD processors.  Developers and performance engineers can get started with events and other features that are not yet available in the mainstream Oprofile distribution.

Please send feedback and questions to: CodeAnalyst Support.

Software License

CodeAnalyst is released under GNU General Public License version 2.0.  Please see terms and conditions.

Notes: CodeAnalyst 2.5 and 2.6 are no longer supported. CodeAnalyst for Linux Release 2.7 Update 1 may also work with older Linux distributions (i.e., SLES9) without IBS support.

»
Please see the CodeAnalyst Archive page for previous releases.


Current Release
CodeAnalyst for Linux Release 2.8 Update 1

CodeAnalyst 2.8U1 includes the following enhancements:

  • Supports up to Six-Core AMD Opteron™ processor with new performance events
  • Supports for building CA gui with the upcoming OProfile-0.9.5
  • Supports for opreport XML output
  • Improve security for non-root users
  • New kernel module support for linux-2.6.28/29

The CodeAnalyst Linux 2.8 release includes the following enhancements:

  • Performance monitoring events provided by the AMD family 10h up to revision 4 processor.
  • A new mode for Instruction-Based (IBS-Op dispatched-op sampling) which improves the distribution of IBS Op samples, and provide a more accurate statistical performance profile.
  • Basic Block Analysis.
  • In-line Function Analysis.
  • Collection of up to 32 performance events in a single test run.
  • AMD DiffAnalyst tool to compare results between profiling sessions.

Notes:

In order to run CodeAnalyst 2.8 Update 1, users are required to install a kernel module provided by CodeAnalyst for each specific Linux distribution. Please refer to the “INSTALLATION” documentation file for more details.

Linux Distribution

RPMs Installation

Supported Platforms

SUSE Linux Enterprise Server 10, 11

Yes

K8 / Family 10h / Family 11h

SUSE Linux Enterprise Server 9

No

K8

OpenSUSE 11, 11.1

No

K8 / Family 10h / Family 11h

SUSE Linux 10.1

No

K8 / Family 10h / Family 11h

Red Hat Enterprise Linux 5

Yes

K8 / Family 10h / Family 11h

Red Hat Enterprise Linux 4 *

Yes

K8 / Family 10h / Family 11h

Fedora Core 8, 9, 10, 11

No

K8 / Family 10h / Family 11h

Ubuntu-8.10, 9.04

No
K8 / Family 10h / Family 11h

(*)     The CodeAnalyst Kernel Module is required to run Java profiling on Red Hat Enterprise Linux 4.
(**)   The CodeAnalyst Kernel Module is required to run on AMD Family 10h or AMD Family 11h platforms.
(***) The CodeAnalyst Kernel Module is required in order to use the event multiplexing feature.

Reset My View

File NameLaunch DateOSDescription
32-bit
CodeAnalyst-Linux-2.8.54-266.RHEL4U6.32bit.rpm (10.7MB)07/08/2009RHEL4U6CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.RHEL4U7.32bit.rpm (10.7MB)07/08/2009RHEL4U7CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.RHEL5U2.32bit.rpm (11.1MB)07/08/2009RHEL5U2CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.RHEL5U3.32bit.rpm (11.1MB)07/08/2009RHEL5U3CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.SLES10SP2.32bit.rpm (9.6MB)07/08/2009SLES10SP2CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.SLES11.32bit.rpm (12.7MB)07/08/2009SLES11CodeAnalyst-2.8 Update 1 Release RPM
64-bit
CodeAnalyst-Linux-2.8.54-266.RHEL4U6.64bit.rpm (9.8MB)07/08/2009RHEL4U6CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.RHEL4U7.64bit.rpm (9.8MB)07/08/2009RHEL4U7CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.RHEL5U2.64bit.rpm (11.2MB)07/08/2009RHEL5U2CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.RHEL5U3.64bit.rpm (11.2MB)07/08/2009RHEL5U3CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.SLES10SP2.64bit.rpm (9.6MB)07/08/2009SLES10SP2CodeAnalyst-2.8 Update 1 Release RPM
CodeAnalyst-Linux-2.8.54-266.SLES11.64bit.rpm (12.3MB)07/08/2009SLES11CodeAnalyst-2.8 Update 1 Release RPM
Both
CALinuxKernelModule-2.8.54.noarch.rpm (2.6MB)07/08/2009No ArchCodeAnalyst Linux Kernel Module RPM
CodeAnalyst-gui-2.8.54.tar.bz2 (8.0MB)07/08/2009No ArchSource tarball containing CA/DA-GUI
CodeAnalyst-gui-2.8.54.tar.gz (8.2MB)07/08/2009No ArchSource tarball containing CA/DA-GUI
CodeAnalyst-Linux-2.8.54.tar.gz (12.3MB)07/08/2009No ArchSource tarball containing CA/DA-GUI, CA-modified OProfile, and CAKM
INSTALLATION-CodeAnalyst-Linux-2.8.54.txt (15KB)07/08/2009No ArchIncludes instructions on building CodeAnalyst, standalone kernel modules, installation trouble shooting, and etc.
README-CodeAnalyst-Linux-2.8.54.txt (8KB)07/08/2009No ArchIncludes necessary information aboout using and running CodeAnalyst, troubleshooting, getting support, etc.
Snapshots

This section contains CodeAnalyst-2.8 snapshot tarballs. A snapshot is a version of CodeAnalyst which has not yet gone through the AMD software quality assurance process.  The software may be unstable.  Please see release notes for more information.

There are several types of tarball as described in the following table:

Type of tarball

Description

CodeAnalyst

Contains CodeAnalyst GUI, DiffAnalyst GUI, the AMD CodeAnalyst version of Oprofile, and Oprofile driver.

CodeAnalyst-gui

Contains only the CodeAnalyst GUI and Diffanalyst GUI

CodeAnalyst-cakm

Contains only the CodeAnalyst version of the Oprofile driver

CodeAnalyst-oprofile

Contains only the CodeAnalyst version of Oprofile

The following CodeAnalyst snapshot tarballs are available.

Reset My View

File NameLaunch DateOSBitnessDescription
CodeAnalyst-gui-2.8.38.tar.bz2 (8MB)03/09/2009No Arch32/64-bitTarball of CodeAnalyst-gui-2.8.38
CodeAnalyst-gui-2.8.38.tar.gz (8MB)03/09/2009No Arch32/64-bitTarball of CodeAnalyst-gui-2.8.38
CodeAnalyst-gui-2.8.38-ReleaseNote.txt (64KB)03/09/2009No Arch32/64-bitRelease note for CodeAnalyst-gui-2.8.38 tarball

Obtain CodeAnalyst RPM from Linux Distributions

CodeAnalyst RPM is also available from certain Linux distributions.  The package is called ‘CodeAnalyst-gui’, which contains only the graphical user interface (no CAKM or CA-modified OProfile).  It provides a subset of functionality, which depends on the support available from the distribution’s kernel and the OProfile package.

Fedora

The “CodeAnlayst-gui” package is available in Fedora starting from Fedora10.  To obtain the package, please run:

yum --enablerepo=updates install CodeAnalyst-gui

To get package from development (rawhide) repository, please run:

yum --enablerepo=rawhide install CodeAnalyst-gui

openSUSE

The “CodeAnlayst-gui” package is available in openSUSE Contrib repository, starting from openSUSE11.1.  To obtain the package, please run:

zypper ar http://download.opensuse.org/repositories/openSUSE:Factory:Contrib/openSUSE_11.1 openSUSE:Factory:Contrib:openSUSE_11.1
zypper install CodeAnalyst-gui

Note: Currently, IBS and event-multiplexing features are not available in these packages.

Quick Poll
For the application that you’re currently profiling, what hardware platform best describes its targeted runtime environment?
 Submit
 Clear
 Results
»See more