mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
814d7a4d2c
commit
af3df2cf17
3 changed files with 34 additions and 4 deletions
|
@ -1081,7 +1081,7 @@ void print_events(const char *event_glob, bool name_only)
|
|||
printf(" %-50s [%s]\n",
|
||||
"cpu/t1=v1[,t2=v2,t3 ...]/modifier",
|
||||
event_type_descriptors[PERF_TYPE_RAW]);
|
||||
printf(" (see 'perf list --help' on how to encode it)\n");
|
||||
printf(" (see 'man perf-list' on how to encode it)\n");
|
||||
printf("\n");
|
||||
|
||||
printf(" %-50s [%s]\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue