[PATCH v2 3/3] perf annotate: Fix missing number of samples

2017-03-22 Thread Taeung Song
If running 'perf annotate --stdio -l --show-total-period', you can see a problem showing only zero '0' for number of samples. Before: $ perf annotate --stdio -l --show-total-period ... 0 :400816: push %rbp 0 :400817: mov%rsp,%rbp 0 :

[PATCH v2 3/3] perf annotate: Fix missing number of samples

2017-03-22 Thread Taeung Song
If running 'perf annotate --stdio -l --show-total-period', you can see a problem showing only zero '0' for number of samples. Before: $ perf annotate --stdio -l --show-total-period ... 0 :400816: push %rbp 0 :400817: mov%rsp,%rbp 0 :