From: naota@elisp.net Date: Wed, 6 Aug 2014 15:04:49 +0000 (+0900) Subject: perf report: Set proper sort__mode for the branch option X-Git-Tag: omap-for-v3.19/prcm-cleanup~97^2~29^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd114e213751c3274891f692be66eb65771f278;p=pandora-kernel.git 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 Acked-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/87y4v1fylq.fsf@elisp.net Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed