2009-04-20 06:52:29 -07:00
|
|
|
perf-top(1)
|
2008-04-15 13:39:31 -07:00
|
|
|
===========
|
2009-04-20 06:52:29 -07:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
perf-top - Run a command and profile it
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
|
|
|
'perf top' [-e <EVENT> | --event=EVENT] [-l] [-a] <command>
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This command runs a command and gathers a performance counter profile
|
|
|
|
from it.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
<command>...::
|
|
|
|
Any command you can specify in a shell.
|
|
|
|
|
|
|
|
-e::
|
|
|
|
--event=::
|
2009-06-06 05:56:33 -07:00
|
|
|
Select the PMU event. Selection can be a symbolic event name
|
|
|
|
(use 'perf list' to list all events) or a raw PMU
|
|
|
|
event (eventsel+umask) in the form of rNNN where NNN is a
|
|
|
|
hexadecimal event descriptor.
|
2009-04-20 06:52:29 -07:00
|
|
|
|
|
|
|
-a::
|
|
|
|
system-wide collection
|
|
|
|
|
|
|
|
-l::
|
|
|
|
scale counter values
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2009-06-06 05:56:33 -07:00
|
|
|
linkperf:perf-stat[1], linkperf:perf-list[1]
|