perf top: Decay periods in callchains
authorNamhyung Kim <namhyung@kernel.org>
Tue, 5 Jan 2016 03:06:00 +0000 (12:06 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Jan 2016 15:37:51 +0000 (12:37 -0300)
commit42b276a2351517409d55b1202a1fa8b05c0cdc99
tree8b8a8345d15e4dacf8c7ad3cf928941602ff493f
parent915b0882c3108a21e9b3b5e176d3151ad522242d
perf top: Decay periods in callchains

It missed to decay periods in callchains when decaying hist entries.
This resulted in more than 100 percent overhead in callchains in the
fractal style output.

Reported-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1451963160-17196-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c
tools/perf/util/callchain.h
tools/perf/util/hist.c