perf annotate browser: Support --show-nr-samples option
authorTaeung Song <treeze.taeung@gmail.com>
Fri, 18 Aug 2017 08:47:03 +0000 (17:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 Aug 2017 14:15:09 +0000 (11:15 -0300)
commit9cef4b0b5b7f64016f043609313aaa821d682d2e
tree28e8876650ac06d84a3d2bf82643da529980abdf
parent01c85629f5e99958606da816f1df058c0722a570
perf annotate browser: Support --show-nr-samples option

Support the --show-nr-samples in the TUI browser.

Committer notes:

Lift the restriction about --tui but leave it for --gtk:

  $ export LD_LIBRARY_PATH=~/lib64
  $ perf annotate --gtk --show-nr-samples --show-nr-samples is not available in --gtk mode at this time
  $

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: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1503046023-5646-1-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/ui/browsers/annotate.c