perf hists: Pass perf_sample to __symbol__inc_addr_samples()
authorTaeung Song <treeze.taeung@gmail.com>
Thu, 20 Jul 2017 19:28:53 +0000 (16:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Jul 2017 11:23:50 +0000 (08:23 -0300)
commitbab89f6aed7e745893e009014354d0caaf62acf7
treef1229f13ff462f6235b19850ed2822ec93891429
parent8158683da3d30e0346275702a8e08f2b22726c45
perf hists: Pass perf_sample to __symbol__inc_addr_samples()

To pave the way to use perf_sample fields in the annotate code, storing
sample->period in sym_hist->addr->period and its sum in
sym_hist->period.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1500500215-16646-1-git-send-email-treeze.taeung@gmail.com
[ split and adjusted from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h