perf hists browser: Fix children overhead dump
authorNamhyung Kim <namhyung@kernel.org>
Wed, 20 Aug 2014 08:07:56 +0000 (17:07 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Aug 2014 15:14:14 +0000 (12:14 -0300)
commit2bfa152839e5adea66aa6309c94bf3a50a5d5d47
treed976413591102e0158404c2309be30d98b9e4c83
parent36e15dd4027a9b088264758fea292b6e876b5cdd
perf hists browser: Fix children overhead dump

When perf report runs on TUI, 'P' key dumps current screen to a file but
it incorrectly displayed children overhead (as same of self overhead).
This was because it fetched the value from self stats.

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: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1408522080-26556-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c