perf annotate TUI: Use sym_hist_entry in disasm_line_samples
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Jul 2017 14:24:59 +0000 (11:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 28 Jul 2017 15:53:06 +0000 (12:53 -0300)
commitbb79a232b0881ce47f921a53f40612a9f9996482
treeed5d80256f140b2df77cf198031f2c3ebb82d7e2
parent48cc33085253d607706e68a67ac98fe2a6abdd3d
perf annotate TUI: Use sym_hist_entry in disasm_line_samples

Just paving the way to fix --show-total-period in the TUI, i.e. now
we save in struct disasm_line_samples not just the number of samples,
but also the total period.

Based-on-a-patch-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-1sup5hkwrxocjvrmrmhs732o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c