aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorAndres Freund <[email protected]>2016-03-30 19:02:45 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-03-30 21:08:39 +0000
commit909890355507e92bdaf648e73870f6b5df606da8 (patch)
tree890ec9b1b6f9f9ad29adb46c39136230984fc3e2 /lib/assoc_array.c
parentMerge tag 'perf-urgent-for-mingo-20160329' of git://git.kernel.org/pub/scm/li... (diff)
downloadkernel-909890355507e92bdaf648e73870f6b5df606da8.tar.gz
kernel-909890355507e92bdaf648e73870f6b5df606da8.zip
perf hists: Fix determination of a callchain node's childlessness
The 4b3a3212233a ("perf hists browser: Support flat callchains") commit over-aggressively tried to optimize callchain_node__init_have_children(). That lead to --tui mode not allowing to expand call chain elements if a call chain element had only one parent. That's why --inverted callgraphs looked halfway sane, but plain ones didn't. Revert that individual optimization, it wasn't really related to the rest of the commit. Signed-off-by: Andres Freund <[email protected]> Acked-by: Namhyung Kim <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: 4b3a3212233a ("perf hists browser: Support flat callchains") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions