[PATCH v2 0/4] perf annotate: Support --show-nr-samples and circulating view

From: Taeung Song
Date: Tue Aug 15 2017 - 11:13:13 EST


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(-)

--
2.7.4