~]# opcontrol --start
Using log file /var/lib/oprofile/oprofiled.log Daemon started. Profiler running.
/root/.oprofile/daemonrc
are used.
oprofiled
, is started; it periodically writes the sample data to the /var/lib/oprofile/samples/
directory. The log file for the daemon is located at /var/lib/oprofile/oprofiled.log
.
Disable the nmi_watchdog registers
nmi_watchdog
registers with the perf
subsystem. Due to this, the perf
subsystem grabs control of the performance counter registers at boot time, blocking OProfile from working.
nmi_watchdog=0
kernel parameter set, or run the following command to disable nmi_watchdog
at run time:
~]# echo 0 > /proc/sys/kernel/nmi_watchdog
nmi_watchdog
, use the following command:
~]# echo 1 > /proc/sys/kernel/nmi_watchdog
~]# opcontrol --shutdown