• Kan Liang's avatar
    perf annotate: Display the branch counter histogram · e6952dce
    Kan Liang authored
    Display the branch counter histogram in the annotation view.
    
    Press 'B' to display the branch counter's abbreviation list as well.
    
      Samples: 1M of events 'anon group { branch-instructions:ppp, branch-misses }',
      4000 Hz, Event count (approx.):
      f3  /home/sdp/test/tchain_edit [Percent: local period]
      Percent       │ IPC Cycle       Branch Counter (Average IPC: 1.39, IPC Coverage: 29.4%)
                    │                                     0000000000401755 <f3>:
        0.00   0.00 │                                       endbr64
                    │                                       push    %rbp
                    │                                       mov     %rsp,%rbp
                    │                                       movl    $0x0,-0x4(%rbp)
        0.00   0.00 │1.33     3          |A   |-   |      ↓ jmp     25
       11.03  11.03 │                                 11:   mov     -0x4(%rbp),%eax
                    │                          ...
    e6952dce
annotate.h 15.9 KB