diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2012-09-28 13:47:07 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-24 17:30:48 -0400 |
commit | af3df2cf17f5df079189c3cc88870d28e219496b (patch) | |
tree | fc0e6ea775be9bc10e16d2aab31f018f4b027c0c /tools/perf/util | |
parent | 814d7a4d2c33657489f7b45bc0b2dcaa0d88edc0 (diff) |
perf tools: Try to build Documentation when installing
There's a portion in the "perf list" output refering to the exact
specification of raw hardware events.
Since this description is in the perf-list manpage, try to build and
install the man pages, warning the user when that is not possible
due to missing packages (xmlto and asciidoc).
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-ij71ysszkdvz3fy3wr331bke@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/parse-events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 2fe15874e46e..3a3efcf3e4e9 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c | |||
@@ -1081,7 +1081,7 @@ void print_events(const char *event_glob, bool name_only) | |||
1081 | printf(" %-50s [%s]\n", | 1081 | printf(" %-50s [%s]\n", |
1082 | "cpu/t1=v1[,t2=v2,t3 ...]/modifier", | 1082 | "cpu/t1=v1[,t2=v2,t3 ...]/modifier", |
1083 | event_type_descriptors[PERF_TYPE_RAW]); | 1083 | event_type_descriptors[PERF_TYPE_RAW]); |
1084 | printf(" (see 'perf list --help' on how to encode it)\n"); | 1084 | printf(" (see 'man perf-list' on how to encode it)\n"); |
1085 | printf("\n"); | 1085 | printf("\n"); |
1086 | 1086 | ||
1087 | printf(" %-50s [%s]\n", | 1087 | printf(" %-50s [%s]\n", |