perf_counter tools: Generate per command manpages (and pdf/html, etc.)
authorIngo Molnar <mingo@elte.hu>
Sat, 30 May 2009 10:38:51 +0000 (12:38 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 30 May 2009 11:52:44 +0000 (13:52 +0200)
commitc1c2365acf8c044f749c0fe1ea236497e8d1718e
tree79f4f096429920ba67842f8adf0e57a35f5c14a0
parent7fbd55449aafb86d3237b5d1a26fb4dab2aa2c76
perf_counter tools: Generate per command manpages (and pdf/html, etc.)

Import Git's nice .txt => {man/html/pdf} generation machinery.

Fix various errors in the Documentation/perf*.txt description as well.

Also fix a bug in builtin-help: we'd map 'perf help top' to 'perftop'
if only the 'perf' binary is in the default PATH - confusing the manpage
logic. I dont fully understand why Git did it this way - but i suppose
it's a migration artifact from their migration from standalone git-xyz
commands to 'git xyz' commands. The perf tools were always using the
modern form so it's not an issue there.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
14 files changed:
Documentation/perf_counter/Documentation/Makefile [new file with mode: 0644]
Documentation/perf_counter/Documentation/asciidoc.conf [new file with mode: 0644]
Documentation/perf_counter/Documentation/manpage-1.72.xsl [new file with mode: 0644]
Documentation/perf_counter/Documentation/manpage-base.xsl [new file with mode: 0644]
Documentation/perf_counter/Documentation/manpage-bold-literal.xsl [new file with mode: 0644]
Documentation/perf_counter/Documentation/manpage-normal.xsl [new file with mode: 0644]
Documentation/perf_counter/Documentation/manpage-suppress-sp.xsl [new file with mode: 0644]
Documentation/perf_counter/Documentation/perf-record.txt
Documentation/perf_counter/Documentation/perf-report.txt
Documentation/perf_counter/Documentation/perf-stat.txt
Documentation/perf_counter/Documentation/perf-top.txt
Documentation/perf_counter/Documentation/perf.txt [new file with mode: 0644]
Documentation/perf_counter/Makefile
Documentation/perf_counter/builtin-help.c