diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2017-10-20 18:14:47 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-10-25 16:50:37 +0300 |
commit | bf36eb5c4b3ef0ebfb19b1a67a5fa5821e6c9fa7 (patch) | |
tree | d07d474dad53a30483d5753b3dfca3776123fae5 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | aa441895f7b4ff5394d4964a8e6749f3866e44d0 (diff) | |
download | linux-bf36eb5c4b3ef0ebfb19b1a67a5fa5821e6c9fa7.tar.xz |
perf report: Properly handle branch count in match_chain()
Some of the code paths I introduced before returned too early without
running the code to handle a node's branch count. By refactoring
match_chain to only have one exit point, this can be remedied.
Signed-off-by: Milian Wolff <milian.wolff@kdab.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1707691.qaJ269GSZW@agathebauer
Link: http://lkml.kernel.org/r/20171018185350.14893-2-milian.wolff@kdab.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions