Skip to contentSkip to conversation

perf annotate: Support --show-nr-samples and circulating view

PATCH Superseded Taeung Song 1 participant 1 message Aug 15, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 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' branch at

git://github.com/taeung/linux-perf.git

Thanks,
Taeung

v2:
- period and nr-samples view can't be used at the same time (Arnaldo)

Taeung Song (4):
perf annotate stdio: Support --show-nr-samples option
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/builtin-annotate.c     | 10 ++++++++--
 tools/perf/ui/browsers/annotate.c | 31 +++++++++++++++++++++++++------
 tools/perf/util/annotate.c        |  6 +++++-
 3 files changed, 38 insertions(+), 9 deletions(-)
Signature · 1 line
2.7.4