39a90a8ef1
For doing work on the Linux power management components, I need to make long (30+ seconds) traces. Currently, this then results in a HUGE svg file, with mostly process data that isn't interesting. This patch adds a --power-only mode to perf timechart that only outputs the CPU power section of the SVG; this significantly reduces the size of the SVG file, making even 30+ second traces viewable with inkscape. As a minor tweak for the same effect, the minimum text size is decreased; current inkscape cannot zoom in deep enough to show text this small, but it reduces inkscape compute time. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Cc: peterz@infradead.org LKML-Reference: <20090924154013.0675ab71@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
42 lines
829 B
Plaintext
42 lines
829 B
Plaintext
perf-timechart(1)
|
|
=================
|
|
|
|
NAME
|
|
----
|
|
perf-timechart - Tool to visualize total system behavior during a workload
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'perf timechart' {record}
|
|
|
|
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=::
|
|
Select the input file (default: perf.data)
|
|
-w::
|
|
--width=::
|
|
Select the width of the SVG file (default: 1000)
|
|
-p::
|
|
--power-only::
|
|
Only output the CPU power section of the diagram
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
linkperf:perf-record[1]
|