diff options
author | naota@elisp.net | 2014-08-06 17:04:49 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2014-08-13 22:13:48 +0200 |
commit | edd114e213751c3274891f692be66eb65771f278 (patch) | |
tree | c61f5939a40ee1f56549112e9be6e7080c168226 /tools/perf/util | |
parent | perf hists browser: Fix a small callchain display bug (diff) | |
download | kernel-qcow2-linux-edd114e213751c3274891f692be66eb65771f278.tar.gz kernel-qcow2-linux-edd114e213751c3274891f692be66eb65771f278.tar.xz kernel-qcow2-linux-edd114e213751c3274891f692be66eb65771f278.zip |
perf report: Set proper sort__mode for the branch option
When you specify "--branch-stack"("-b" for short) or
"--no-branch-stack", "branch_mode" variable is set to 1 or 0
respectively. However, the code is just checking if the variable is -1
or not, ignoring "branch_mode == 1" case. Thus "perf report -b" dose not
show its result with the branch sorted mode. This patch fix the problem.
Signed-off-by: Naohiro Aota <naota@elisp.net>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/87y4v1fylq.fsf@elisp.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions