perf annotate: Store the sample period in each histogram bucket
authorTaeung Song <treeze.taeung@gmail.com>
Thu, 20 Jul 2017 20:18:05 +0000 (17:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Jul 2017 15:02:38 +0000 (12:02 -0300)
commit461c17f00f400f95116880d91d20a7fcd84263a9
tree9e90d493d49065b41387ba79fc6645cafd8b0813
parentbab89f6aed7e745893e009014354d0caaf62acf7
perf annotate: Store the sample period in each histogram bucket

We'll use it soon, when fixing --show-total-period.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
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: http://lkml.kernel.org/r/1500500215-16646-1-git-send-email-treeze.taeung@gmail.com
[ split from a larger patch, do the math in __symbol__inc_addr_samples() ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/annotate.h