Re: [PATCH] perf report: Set proper sort__mode for the branch option

2014-08-13 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 13, 2014 at 02:45:34PM +0900, Namhyung Kim escreveu: > Hi Naohiro, > > (CC'ing Stephane) > > > 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

Re: [PATCH] perf report: Set proper sort__mode for the branch option

2014-08-12 Thread Namhyung Kim
Hi Naohiro, (CC'ing Stephane) > 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 >

[PATCH] perf report: Set proper sort__mode for the branch option

2014-08-06 Thread naota
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 mo