• Arnaldo Carvalho de Melo's avatar
    perf evlist: Show event attribute details · 26252ea6
    Arnaldo Carvalho de Melo authored
    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 <dsahern@gmail.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Namhyung Kim <namhyung@gmail.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lkml.kernel.org/n/tip-e1p9poez3nwrgycbmwqmhlsu@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    26252ea6
builtin-evlist.c 2.86 KB