blob: 3ff8bd4f0b4d94163d77231881b462e50bbd4e17 [file] [log] [blame]
Arjan van de Ven151750c2009-09-19 13:36:04 +02001perf-timechart(1)
2=================
3
4NAME
5----
6perf-timechart - Tool to visualize total system behavior during a workload
7
8SYNOPSIS
9--------
10[verse]
Ramkumar Ramachandrad366c532013-10-03 14:45:16 +053011'perf timechart' record <command>
12'perf timechart' [<options>]
Arjan van de Ven151750c2009-09-19 13:36:04 +020013
14DESCRIPTION
15-----------
16There are two variants of perf timechart:
17
18 'perf timechart record <command>' to record the system level events
19 of an arbitrary workload.
20
21 'perf timechart' to turn a trace into a Scalable Vector Graphics file,
22 that can be viewed with popular SVG viewers such as 'Inkscape'.
23
24OPTIONS
25-------
26-o::
27--output=::
28 Select the output file (default: output.svg)
29-i::
30--input=::
Robert Richterefad1412011-12-07 10:02:54 +010031 Select the input file (default: perf.data unless stdin is a fifo)
Arjan van de Ven5094b652009-09-20 18:14:16 +020032-w::
33--width=::
34 Select the width of the SVG file (default: 1000)
Arjan van de Venbbe29872009-10-20 07:09:39 +090035-P::
Arjan van de Ven39a90a82009-09-24 15:40:13 +020036--power-only::
37 Only output the CPU power section of the diagram
Arjan van de Venbbe29872009-10-20 07:09:39 +090038-p::
39--process::
40 Select the processes to display, by name or PID
Arjan van de Ven151750c2009-09-19 13:36:04 +020041
David Ahernec5761e2010-12-09 13:27:07 -070042--symfs=<directory>::
43 Look for files with symbols relative to this directory.
Arjan van de Ven151750c2009-09-19 13:36:04 +020044
Ramkumar Ramachandrad366c532013-10-03 14:45:16 +053045EXAMPLES
46--------
47
48$ perf timechart record git pull
49
50 [ perf record: Woken up 13 times to write data ]
51 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
52
53$ perf timechart
54
55 Written 10.2 seconds of trace to output.svg.
56
Arjan van de Ven151750c2009-09-19 13:36:04 +020057SEE ALSO
58--------
59linkperf:perf-record[1]