22.2.1. Specifying the Kernel
First, configure whether OProfile should monitor the kernel. This is the only configuration option that is required before starting OProfile. All others are optional.
To configure OProfile not to monitor the kernel, execute the following command as root:
This command also loads the
oprofile kernel module, if it is not already loaded, and creates the
/dev/oprofile/ directory, if it does not already exist. Refer to
Section 22.6, “Understanding /dev/oprofile/” for details about this directory.