Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf timechart: Add example in the documentation

While at it, update the synopsis to show both forms.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@gmail.com>
Link: http://lkml.kernel.org/r/1380791716-10325-1-git-send-email-artagnon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Ramkumar Ramachandra and committed by
Arnaldo Carvalho de Melo
d366c53e 8a5411e9

+14 -1
+14 -1
tools/perf/Documentation/perf-timechart.txt
··· 8 8 SYNOPSIS 9 9 -------- 10 10 [verse] 11 - 'perf timechart' {record} 11 + 'perf timechart' record <command> 12 + 'perf timechart' [<options>] 12 13 13 14 DESCRIPTION 14 15 ----------- ··· 41 40 42 41 --symfs=<directory>:: 43 42 Look for files with symbols relative to this directory. 43 + 44 + EXAMPLES 45 + -------- 46 + 47 + $ perf timechart record git pull 48 + 49 + [ perf record: Woken up 13 times to write data ] 50 + [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ] 51 + 52 + $ perf timechart 53 + 54 + Written 10.2 seconds of trace to output.svg. 44 55 45 56 SEE ALSO 46 57 --------