aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
author[email protected] <[email protected]>2014-08-07 00:04:49 +0900
committerArnaldo Carvalho de Melo <[email protected]>2014-08-13 17:13:48 -0300
commitedd114e213751c3274891f692be66eb65771f278 (patch)
treec61f5939a40ee1f56549112e9be6e7080c168226 /tools/perf/scripts/python
parent82162b5ae3d152fd7d887b36213f5b6785fe1294 (diff)
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 <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions