I'm profiling using Perf, currently generating this output:
perf stat -C 3 -B  ./my_app
Performance counter stats for 'CPU(s) 3':
     23,191.79 msec cpu-clock                 #    1.000 CPUs utilized          
           800      context-switches          #   34.495 /sec                   
             2      cpu-migrations            #    0.086 /sec                   
         1,098      page-faults               #   47.344 /sec                   
    55,871,690      cycles                    #    0.002 GHz                    
    30,950,148      stalled-cycles-frontend   #   55.40% frontend cycles idle   
    64,157,302      instructions              #    1.15  insn per cycle         
                                              #    0.48  stalled cycles per insn
    12,845,079      branches                  #  553.863 K/sec                  
       227,892      branch-misses             #    1.77% of all branches   
I'd like to add some specific event counters not listed above.
However, when I list them explicitly, I lose the metadata in the right hand column and the default counters all disappear:
 perf stat -e cache-misses -B ./my_app
 Performance counter stats for 'CPU(s) 3':
           207,463      cache-misses                                               
       4.437709174 seconds time elapsed
As you can see, the right-most column has disappeared. I'd like to keep this column, but add specific events.
- Is it possible to take the default set of events using - -Band add additional events?
- If not, if I manually create my list of events, how do I keep the right-most column with the /sec etc? 
 
    