oprofile package must be installed to use this tool.
--separate=library option is used.
opreport does not associate samples for inline functions properly — opreport uses a simple address range mechanism to determine which function an address is in. Inline function samples are not attributed to the inline function but rather to the function the inline function was inserted into.
opcontrol --reset to clear out the samples from previous runs.
timer mode. Run the command opcontrol --deinit, and then execute modprobe oprofile timer=1 to enable the timer mode.
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 22.5.4, “Using opannotate” for details.
|
opcontrol
|
Configures what data is collected. Refer to Section 22.2, “Configuring OProfile” for details.
|
opreport
|
Retrieves profile data. Refer to Section 22.5.1, “Using
opreport” for details.
|
oprofiled
|
Runs as a daemon to periodically write sample data to disk.
|