2009-04-20 13:52:29 +00:00
|
|
|
perf-top(1)
|
2008-04-15 20:39:31 +00:00
|
|
|
===========
|
2009-04-20 13:52:29 +00: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 12:56:33 +00: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 13:52:29 +00:00
|
|
|
|
|
|
|
-a::
|
|
|
|
system-wide collection
|
|
|
|
|
|
|
|
-l::
|
|
|
|
scale counter values
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2009-06-06 12:56:33 +00:00
|
|
|
linkperf:perf-stat[1], linkperf:perf-list[1]
|