• J
    perf list: Add cache events · 73c24cb8
    Jaswinder Singh Rajput 提交于
    After:
    
    $ ./perf list
    
    List of pre-defined events (to be used in -e):
    
      cpu-cycles OR cycles                     [Hardware event]
      instructions                             [Hardware event]
      cache-references                         [Hardware event]
      cache-misses                             [Hardware event]
      branch-instructions OR branches          [Hardware event]
      branch-misses                            [Hardware event]
      bus-cycles                               [Hardware event]
    
      cpu-clock                                [Software event]
      task-clock                               [Software event]
      page-faults OR faults                    [Software event]
      minor-faults                             [Software event]
      major-faults                             [Software event]
      context-switches OR cs                   [Software event]
      cpu-migrations OR migrations             [Software event]
    
      L1-d$-loads                              [Hardware cache event]
      L1-d$-load-misses                        [Hardware cache event]
      L1-d$-stores                             [Hardware cache event]
      L1-d$-store-misses                       [Hardware cache event]
      L1-d$-prefetches                         [Hardware cache event]
      L1-d$-prefetch-misses                    [Hardware cache event]
      L1-i$-loads                              [Hardware cache event]
      L1-i$-load-misses                        [Hardware cache event]
      L1-i$-prefetches                         [Hardware cache event]
      L1-i$-prefetch-misses                    [Hardware cache event]
      LLC-loads                                [Hardware cache event]
      LLC-load-misses                          [Hardware cache event]
      LLC-stores                               [Hardware cache event]
      LLC-store-misses                         [Hardware cache event]
      LLC-prefetches                           [Hardware cache event]
      LLC-prefetch-misses                      [Hardware cache event]
      dTLB-loads                               [Hardware cache event]
      dTLB-load-misses                         [Hardware cache event]
      dTLB-stores                              [Hardware cache event]
      dTLB-store-misses                        [Hardware cache event]
      dTLB-prefetches                          [Hardware cache event]
      dTLB-prefetch-misses                     [Hardware cache event]
      iTLB-loads                               [Hardware cache event]
      iTLB-load-misses                         [Hardware cache event]
      branch-loads                             [Hardware cache event]
      branch-load-misses                       [Hardware cache event]
    
      rNNN                                     [raw hardware event descriptor]
    Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <1246453578.3072.1.camel@ht.satnam>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    73c24cb8
parse-events.c 10.4 KB