perf annotate browser: Circulate percent, total-period and nr-samples view
authorTaeung Song <treeze.taeung@gmail.com>
Fri, 18 Aug 2017 08:47:08 +0000 (17:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 Aug 2017 14:23:20 +0000 (11:23 -0300)
commit3a555c7799de69d73826eccc9a21948a5775d4d3
tree3479a2ddb3fd04e9d61e230d1466b0a26572d057
parent9cef4b0b5b7f64016f043609313aaa821d682d2e
perf annotate browser: Circulate percent, total-period and nr-samples view

Using the existing 't' hotkey, support the three views: percent, total
period and number of samples on the annotate TUI browser, circulating
them like below:

  Percent -> Total Period -> Nr Samples -> Percent ...

Committer notes:

Removed new 'e' hotkey, should be resubmitted as a separate patch, with
proper justification for its inclusion.

Suggested-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Milian Wolff <milian.wolff@kdab.com>
Link: http://lkml.kernel.org/r/1503046028-5691-1-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c