Skip to content

Commit

Permalink
perf timechart: Reflow documentation
Browse files Browse the repository at this point in the history
Move options away from examples.

Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>
Link: http://lkml.kernel.org/r/20140610095216.GO26511@stfomichev-desktop.yandex.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Stanislav Fomichev authored and Arnaldo Carvalho de Melo committed Jun 10, 2014
1 parent 5ee05b8 commit f48e00c
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions tools/perf/Documentation/perf-timechart.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,6 @@ TIMECHART OPTIONS

--symfs=<directory>::
Look for files with symbols relative to this directory.

EXAMPLES
--------

$ perf timechart record git pull

[ perf record: Woken up 13 times to write data ]
[ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]

$ perf timechart

Written 10.2 seconds of trace to output.svg.

Record system-wide timechart:

$ perf timechart record

then generate timechart and highlight 'gcc' tasks:

$ perf timechart --highlight gcc

-n::
--proc-num::
Print task info for at least given number of tasks.
Expand All @@ -88,6 +67,26 @@ RECORD OPTIONS
--callchain::
Do call-graph (stack chain/backtrace) recording

EXAMPLES
--------

$ perf timechart record git pull

[ perf record: Woken up 13 times to write data ]
[ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]

$ perf timechart

Written 10.2 seconds of trace to output.svg.

Record system-wide timechart:

$ perf timechart record

then generate timechart and highlight 'gcc' tasks:

$ perf timechart --highlight gcc

SEE ALSO
--------
linkperf:perf-record[1]

0 comments on commit f48e00c

Please sign in to comment.