Re: [PATCH] perf report: Fix branch stack mode cannot be set

2015-02-27 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 27, 2015 at 05:58:44PM +0800, He Kuang escreveu: > ping.. Thanks, applied to perf/core. - Arnaldo > 在 2015/2/15 10:33, He Kuang 写道: > >When perf.data file be abtained by using 'perf record -b', perf report > >should use branch stack mode to generate output. But this function is > >br

Re: [PATCH] perf report: Fix branch stack mode cannot be set

2015-02-27 Thread He Kuang
ping.. 在 2015/2/15 10:33, He Kuang 写道: When perf.data file be abtained by using 'perf record -b', perf report should use branch stack mode to generate output. But this function is broken by improper comparison between boolean and constant -1. before this patch: $perf report -b -i perf.data Sampl