perf annotate: Introduce symbol__cycle_hists()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 May 2018 20:17:05 +0000 (17:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:51 +0000 (10:28 -0300)
commitc6b635eece599ae13ffce081bac1fde94912df33
tree211ca7785c01fbf112e4ea52215b64444fb83ab5
parente8ea922a7e077b491c6363755e3ac94d350ea253
perf annotate: Introduce symbol__cycle_hists()

In this case we're wanting just notes->src->cycles_hist, allocating it if needed.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-pqj81aneunhftlntm66tmhz0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c