perf evlist: Show event attribute details
Commit-ID: 26252ea675663d1bc6747125fcaa2b7cc4ed8a03 Gitweb: http://git.kernel.org/tip/26252ea675663d1bc6747125fcaa2b7cc4ed8a03 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 22 May 2012 14:30:11 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 22 May 2012 14:30:11 -0300
perf evlist: Show event attribute details
There was no easy way to see the frequency used, and with the change of default, we better provide one.
[root@sandy linux]# perf evlist -F
cycles: sample_freq=4000
[root@sandy linux]# perf evlist -v
cycles: sample_freq=4000, size: 80, sample_type: 391, read_format: 7, disabled: 1, inherit: 1, mmap: 1, comm: 1, freq: 1, sample_id_all: 1, exclude_guest: 1 [root@sandy linux]#
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/Documentation/perf-evlist.txt | 8 ++ tools/perf/builtin-evlist.c | 103 ++++++++++++++++++++++++++--- 2 files changed, 100 insertions(+), 11 deletions(-)
tools/perf/Documentation/perf-evlist.txt +8 -0
@@ -20,6 +20,14 @@ OPTIONS --input=:: Input file name. (default: perf.data unless stdin is a fifo) +-F:: +--freq=:: + Show just the sample frequency used for each event. + +-v:: +--verbose=:: + Show all fields. + SEE ALSO -------- linkperf:perf-record[1], linkperf:perf-list[1],
tools/perf/builtin-evlist.c +92 -11
126 lines not on this page · raw message