perf annotate: Support --show-nr-samples and circulating view
v3 cover perf annotate: Support --show-nr-samples and circulating view
Hello,
Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report.
And support the three view based on percent,
total period and number of samples on the annotate TUI browser, circulating them like below:
Percent -> Period -> Samples -> Percent ...
I'd appreciate some feedback on my patchkit. :) The code is available on 'perf/ann-nr-samples-v3' branch at
git://github.com/taeung/linux-perf.git
Thanks,
Taeung
v3:
- Add --show-nr-samples option in documentation (Arnaldo)
- Add a missing --show-total-period in documentation
v2:
- period and nr-samples view can't be used at the same time (Arnaldo)
Taeung Song (5):
perf annotate stdio: Support --show-nr-samples option
perf annotate: Add a missing period option in documentation perf annotate: Period and samples view can't be used at the same time perf annotate browser: Support --show-nr-samples option perf annotate browser: Circulate percent, total period and samples
view
tools/perf/Documentation/perf-annotate.txt | 6 ++++++ tools/perf/builtin-annotate.c | 10 ++++++++-- tools/perf/ui/browsers/annotate.c | 31 ++++++++++++++++++++++++------ tools/perf/util/annotate.c | 6 +++++- 4 files changed, 44 insertions(+), 9 deletions(-)
Signature · 1 line
2.7.4