English Portuguese (Brazil)
[command]#kernel# — Generate per-application profiles for the kernel and kernel modules.
[command]#kill -SIGINT operf-PID#
[command]#library# — Generate per-application profiles for libraries.
[command]#modprobe# [command]#oprofile# [option]`timer=1`
[command]#opannotate#
[command]#opcontrol# [option]`--deinit`
[command]#operf# is the recommended profiling mode that does not require initial setup before starting. All settings are specified as command-line options and there is no separate command to start the profiling process. To stop [command]#operf#, press Ctrl+C. The typical [command]#operf# command syntax looks as follows:
[command]#operf# [option]`--events`pass:attributes[{blank}]=pass:attributes[{blank}]_event1_,_event2_pass:attributes[{blank}]…
[command]#operf# _options_ _range_ _command_ _args_
[command]#ophelp#
[command]#opreport#
Configuring OProfile Using Legacy Mode
* `count` — The interval between samples.
Currently, you can add one command-line option: [option]`--debug`, which enables debugging mode.
Default Events
Depending on the JVM that you are using, you may have to install the *debuginfo* package for the JVM. For OpenJDK, this package is required, there is no debuginfo package for Oracle JDK. To keep the debug information packages synchronized with their respective non-debug packages, you also need to install the *yum-plugin-auto-update-debug-info* plug-in. This plug-in searches the debug information repository for corresponding updates.
* *Determine processor usage* — The `CPU_CLK_UNHALTED` event can be monitored to determine the processor load over a given period of time. This data can then be used to determine if additional processors or a faster processor might improve system performance.
* *Determine which applications and services are used the most on a system* — [command]#opreport# can be used to determine how much processor time an application or service uses. If the system is used for multiple services but is underperforming, the services consuming the most processor time can be moved to dedicated systems.
Disable the nmi_watchdog registers
Each directory for a counter contains the following files: