diff options
Diffstat (limited to 'tools/perf/Documentation/perf-timechart.txt')
-rw-r--r-- | tools/perf/Documentation/perf-timechart.txt | 13 |
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 | ||
59 | Record 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 | ||
66 | RECORD OPTIONS | 79 | RECORD OPTIONS |
67 | -------------- | 80 | -------------- |