Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177440
b: refs/heads/master
c: a600512
h: refs/heads/master
v: v3
  • Loading branch information
Tom Zanussi authored and Ingo Molnar committed Dec 15, 2009
1 parent 3449617 commit a5d1c2f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3875294f5c0d7b9ef96ffc373d8a956ebd7c0c7f
refs/heads/master: a6005123ce22770dbd91bc3cb637ce0807ab959b
27 changes: 26 additions & 1 deletion trunk/tools/perf/Documentation/perf-trace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,43 @@ perf-trace - Read perf.data (created by perf record) and display trace output
SYNOPSIS
--------
[verse]
'perf trace' [-i <file> | --input=file] symbol_name
'perf trace' {record <script> | report <script> [args] }

DESCRIPTION
-----------
This command reads the input file and displays the trace recorded.

There are several variants of perf trace:

'perf trace' to see a detailed trace of the workload that was
recorded.

'perf trace record <script>' to record the events required for 'perf
trace report'. <script> is the name displayed in the output of
'perf trace --list' i.e. the actual script name minus any language
extension.

'perf trace report <script>' to run and display the results of
<script>. <script> is the name displayed in the output of 'perf
trace --list' i.e. the actual script name minus any language
extension. The perf.data output from a previous run of 'perf trace
record <script>' is used and should be present for this command to
succeed.

OPTIONS
-------
-D::
--dump-raw-trace=::
Display verbose dump of the trace data.

-L::
--Latency=::
Show latency attributes (irqs/preemption disabled, etc).

-l::
--list=::
Display a list of available trace scripts.

-s::
--script=::
Process trace data with the given script ([lang]:script[.ext]).
Expand Down

0 comments on commit a5d1c2f

Please sign in to comment.