perf hists: Support decaying in hierarchy mode
authorNamhyung Kim <[email protected]>
Wed, 24 Feb 2016 15:13:49 +0000 (00:13 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 24 Feb 2016 23:21:15 +0000 (20:21 -0300)
commit5d8200ae67724960f7761b3a2216a1ca651fcc65
tree869b41105cc0151f5077d49aa5021446db0d64b2
parent4251446d778e669db5ac9f86b02d38064bdbbf9a
perf hists: Support decaying in hierarchy mode

In the hierarchy mode, hist entries should decay their children too.
Also update hists__delete_entry() to be able to free child entries.

Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/hist.c