39.1. Overview of Tools

39.1. Overview of Tools

Table 39.1, “OProfile Commands” provides a brief overview of the tools provided with the oprofile package.

Command Description
ophelp

Displays available events for the system's processor along with a brief description of each.

opimport

Converts sample database files from a foreign binary format to the native format for the system. Only use this option when analyzing a sample database from a different architecture.

opannotate Creates annotated source for an executable if the application was compiled with debugging symbols. Refer to Section 39.5.4, “Using opannotate for details.
opcontrol

Configures what data is collected. Refer to Section 39.2, “Configuring OProfile” for details.

opreport

Retrieves profile data. Refer to Section 39.5.1, “Using opreport for details.

oprofiled

Runs as a daemon to periodically write sample data to disk.

Table 39.1. OProfile Commands


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.