aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-07 13:07:05 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-07 13:07:05 -0400
commit1cf4a0632c24ea61162ed819bde358bc94c55510 (patch)
treeba5cfceb0bd6b48f15e2993706876035f4a174a4 /tools/perf/util
parent4778e0e8c64f683a71632dba1cff1f85f76f83c4 (diff)
perf list: Improve the raw hw event descriptor documentation
It was x86 specific and imcomplete at that, improve the situation by making it clear where the example provided applies and by adding the URLs for the Intel and AMD manuals where this is discussed in depth. Acked-by: Robert Richter <robert.richter@amd.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Tom Zanussi <tzanussi@gmail.com> Cc: Robert Richter <robert.richter@amd.com> Reported-by: Robert Richter <robert.richter@amd.com LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/parse-events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index bc8b7e614207..7b24b5dee8b3 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -936,7 +936,8 @@ void print_events(void)
936 936
937 printf("\n"); 937 printf("\n");
938 printf(" %-42s [%s]\n", 938 printf(" %-42s [%s]\n",
939 "rNNN (NNN=<UMASK VALUE><EVENT NUM>)", event_type_descriptors[PERF_TYPE_RAW]); 939 "rNNN (see 'perf list --help' on how to encode it)",
940 event_type_descriptors[PERF_TYPE_RAW]);
940 printf("\n"); 941 printf("\n");
941 942
942 printf(" %-42s [%s]\n", 943 printf(" %-42s [%s]\n",