aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-timechart.txt
diff options
context:
space:
mode:
authorStanislav Fomichev <stfomichev@yandex-team.ru>2013-12-17 10:53:49 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-12-17 14:33:55 -0500
commite57a2dffbc7e28cef5f4659b98a9d5595010ab4d (patch)
tree4b09e46f5328e9f890002835179e09844d0ccbd7 /tools/perf/Documentation/perf-timechart.txt
parentee4e9625c8d4ec3a35322a882f7b6e035d2a1ad5 (diff)
perf timechart: Add --highlight option
This option highlights tasks (using different color) that run more than given duration or tasks with given name. Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru> Acked-by: Ingo Molnar <mingo@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Ramkumar Ramachandra <artagnon@gmail.com> Link: http://lkml.kernel.org/r/20131217155349.GA13021@stfomichev-desktop Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-timechart.txt')
-rw-r--r--tools/perf/Documentation/perf-timechart.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-timechart.txt b/tools/perf/Documentation/perf-timechart.txt
index 367c1be0551c..bc5990c33dc0 100644
--- a/tools/perf/Documentation/perf-timechart.txt
+++ b/tools/perf/Documentation/perf-timechart.txt
@@ -56,12 +56,25 @@ $ perf timechart
56 56
57 Written 10.2 seconds of trace to output.svg. 57 Written 10.2 seconds of trace to output.svg.
58 58
59Record system-wide timechart:
60
61 $ perf timechart record
62
63 then generate timechart and highlight 'gcc' tasks:
64
65 $ perf timechart --highlight gcc
66
59-n:: 67-n::
60--proc-num:: 68--proc-num::
61 Print task info for at least given number of tasks. 69 Print task info for at least given number of tasks.
62-t:: 70-t::
63--topology:: 71--topology::
64 Sort CPUs according to topology. 72 Sort CPUs according to topology.
73--highlight=<duration_nsecs|task_name>::
74 Highlight tasks (using different color) that run more than given
75 duration or tasks with given name. If number is given it's interpreted
76 as number of nanoseconds. If non-numeric string is given it's
77 interpreted as task name.
65 78
66RECORD OPTIONS 79RECORD OPTIONS
67-------------- 80--------------