mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
bbe2987bea
During the Kernel Summit demo of perf/ftrace/timechart, there was a feature request to have a process filter for timechart so that you can zoom into one or a few processes that you are really interested in. This patch adds basic support for this feature, the -p (--process) option now can select a PID or a process name to be shown. Multiple -p options are allowed, and the combined set will be included in the output. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20091020070939.7d0fb8a7@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
45 lines
902 B
Plaintext
45 lines
902 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
|
|
-p::
|
|
--process::
|
|
Select the processes to display, by name or PID
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
linkperf:perf-record[1]
|