2009-09-19 19:36:04 +08:00
|
|
|
perf-timechart(1)
|
|
|
|
=================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
perf-timechart - Tool to visualize total system behavior during a workload
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
2013-10-03 17:15:16 +08:00
|
|
|
'perf timechart' record <command>
|
|
|
|
'perf timechart' [<options>]
|
2009-09-19 19:36:04 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
There are two variants of perf timechart:
|
|
|
|
|
|
|
|
'perf timechart record <command>' to record the system level events
|
|
|
|
of an arbitrary workload.
|
|
|
|
|
|
|
|
'perf timechart' to turn a trace into a Scalable Vector Graphics file,
|
|
|
|
that can be viewed with popular SVG viewers such as 'Inkscape'.
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-o::
|
|
|
|
--output=::
|
|
|
|
Select the output file (default: output.svg)
|
|
|
|
-i::
|
|
|
|
--input=::
|
2011-12-07 17:02:54 +08:00
|
|
|
Select the input file (default: perf.data unless stdin is a fifo)
|
2009-09-21 00:14:16 +08:00
|
|
|
-w::
|
|
|
|
--width=::
|
|
|
|
Select the width of the SVG file (default: 1000)
|
2009-10-20 06:09:39 +08:00
|
|
|
-P::
|
2009-09-24 21:40:13 +08:00
|
|
|
--power-only::
|
|
|
|
Only output the CPU power section of the diagram
|
2013-11-02 00:25:48 +08:00
|
|
|
-T::
|
|
|
|
--tasks-only::
|
|
|
|
Don't output processor state transitions
|
2009-10-20 06:09:39 +08:00
|
|
|
-p::
|
|
|
|
--process::
|
|
|
|
Select the processes to display, by name or PID
|
2009-09-19 19:36:04 +08:00
|
|
|
|
2010-12-10 04:27:07 +08:00
|
|
|
--symfs=<directory>::
|
|
|
|
Look for files with symbols relative to this directory.
|
2009-09-19 19:36:04 +08:00
|
|
|
|
2013-10-03 17:15:16 +08:00
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
$ perf timechart record git pull
|
|
|
|
|
|
|
|
[ perf record: Woken up 13 times to write data ]
|
|
|
|
[ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
|
|
|
|
|
|
|
|
$ perf timechart
|
|
|
|
|
|
|
|
Written 10.2 seconds of trace to output.svg.
|
|
|
|
|
2013-11-02 00:25:46 +08:00
|
|
|
-n::
|
|
|
|
--proc-num::
|
|
|
|
Print task info for at least given number of tasks.
|
|
|
|
|
2009-09-19 19:36:04 +08:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkperf:perf-record[1]
|