perf annotate: Introduce annotated_source__alloc_histograms
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 May 2018 19:23:08 +0000 (16:23 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:51 +0000 (10:28 -0300)
commitbe3e26d99c3abf4b17728da7bc606dd05419611e
treeffa2cc8b4127859331d6b970485d44e1cd3256a7
parentca39650309a7ce471ed6077267a27a0ac1f28941
perf annotate: Introduce annotated_source__alloc_histograms

So that we can call it independently, in contexts were we know we
already have notes->src allocated.

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-f5fn7tr1asey6g013wavpn4c@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c