A detailed description of OProfile and its features is beyond the scope of this book. For more information, see the resources listed below.
oprofile(1) — The manual page named oprofile provides an overview of OProfile and available tools. To display the manual page for the version included in Red Hat Developer Toolset, type:
scl enable devtoolset-4 'man oprofile'
opannotate(1), oparchive(1), operf(1), opgprof(1), ophelp(1), opimport(1), opreport(1) — Manual pages for various tools distributed with OProfile provide more information on their respective usage. To display the manual page for the version included in Red Hat Developer Toolset, type:
scl enable devtoolset-4 'man tool'
Chapter 11, SystemTap
provides an introduction to SystemTap
and explains how to use it to monitor the activities of a running system.
Chapter 12, Valgrind
explains how to use Valgrind
to profile applications and detect memory errors and memory management problems, such as the use of uninitialized memory, improper allocation and freeing of memory, and the use of improper arguments in system calls.
Chapter 14, Dyninst
documents how to use the Dyninst library to instrument a user-space executable.