• A
    perf list: Allow filtering list of events · 668b8788
    Arnaldo Carvalho de Melo 提交于
    The man page has the details, here are some examples:
    
    [root@emilia ~]# perf list *fault*  *:*wait*
    
    List of pre-defined events (to be used in -e):
      page-faults OR faults                      [Software event]
      minor-faults                               [Software event]
      major-faults                               [Software event]
      alignment-faults                           [Software event]
      emulation-faults                           [Software event]
    
      radeon:radeon_fence_wait_begin             [Tracepoint event]
      radeon:radeon_fence_wait_end               [Tracepoint event]
      writeback:wbc_writeback_wait               [Tracepoint event]
      writeback:wbc_balance_dirty_wait           [Tracepoint event]
      writeback:writeback_congestion_wait        [Tracepoint event]
      writeback:writeback_wait_iff_congested     [Tracepoint event]
      sched:sched_wait_task                      [Tracepoint event]
      sched:sched_process_wait                   [Tracepoint event]
      sched:sched_stat_wait                      [Tracepoint event]
      sched:sched_stat_iowait                    [Tracepoint event]
      syscalls:sys_enter_epoll_wait              [Tracepoint event]
      syscalls:sys_exit_epoll_wait               [Tracepoint event]
      syscalls:sys_enter_epoll_pwait             [Tracepoint event]
      syscalls:sys_exit_epoll_pwait              [Tracepoint event]
      syscalls:sys_enter_rt_sigtimedwait         [Tracepoint event]
      syscalls:sys_exit_rt_sigtimedwait          [Tracepoint event]
      syscalls:sys_enter_waitid                  [Tracepoint event]
      syscalls:sys_exit_waitid                   [Tracepoint event]
      syscalls:sys_enter_wait4                   [Tracepoint event]
      syscalls:sys_exit_wait4                    [Tracepoint event]
      syscalls:sys_enter_waitpid                 [Tracepoint event]
      syscalls:sys_exit_waitpid                  [Tracepoint event]
    [root@emilia ~]#
    Suggested-by: NIngo Molnar <mingo@elte.hu>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    668b8788
parse-events.c 23.3 KB