RE: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-20 Thread Liang, Kan
> > On Thu, Nov 20, 2014 at 7:32 AM, Namhyung Kim > wrote: > > > > On Wed, 19 Nov 2014 14:32:08 +, Kan Liang wrote: > > >> On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: > > >> > + if (attr->exclude_user) { > > >> > + attr->exclude_user = 0;

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-20 Thread Stephane Eranian
On Thu, Nov 20, 2014 at 7:32 AM, Namhyung Kim wrote: > > On Wed, 19 Nov 2014 14:32:08 +, Kan Liang wrote: > >> On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: > >> > + if (attr->exclude_user) { > >> > + attr->exclude_user = 0; > >> > + > >> > +

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-20 Thread Stephane Eranian
On Thu, Nov 20, 2014 at 7:32 AM, Namhyung Kim namhy...@kernel.org wrote: On Wed, 19 Nov 2014 14:32:08 +, Kan Liang wrote: On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: + if (attr-exclude_user) { + attr-exclude_user = 0; + +

RE: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-20 Thread Liang, Kan
On Thu, Nov 20, 2014 at 7:32 AM, Namhyung Kim namhy...@kernel.org wrote: On Wed, 19 Nov 2014 14:32:08 +, Kan Liang wrote: On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: + if (attr-exclude_user) { + attr-exclude_user = 0;

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-19 Thread Namhyung Kim
On Wed, 19 Nov 2014 14:32:08 +, Kan Liang wrote: >> On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: >> > + if (attr->exclude_user) { >> > + attr->exclude_user = 0; >> > + >> > + pr_warning("LBR callstack option is only >>

RE: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-19 Thread Liang, Kan
> On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: > > From: Kan Liang > > > > Currently, there are two call chain recording options, fp and dwarf. > > Haswell has a new feature that utilizes the existing LBR facility to > > record call chains. So it provides the third options to record

RE: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-19 Thread Liang, Kan
On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: From: Kan Liang kan.li...@intel.com Currently, there are two call chain recording options, fp and dwarf. Haswell has a new feature that utilizes the existing LBR facility to record call chains. So it provides the third options to

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-19 Thread Namhyung Kim
On Wed, 19 Nov 2014 14:32:08 +, Kan Liang wrote: On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: + if (attr-exclude_user) { + attr-exclude_user = 0; + + pr_warning(LBR callstack option is only available +

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-18 Thread Namhyung Kim
On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: > From: Kan Liang > > Currently, there are two call chain recording options, fp and dwarf. > Haswell has a new feature that utilizes the existing LBR facility to > record call chains. So it provides the third options to record call > chain.

Re: [PATCH V4 1/3] perf tools: enable LBR call stack support

2014-11-18 Thread Namhyung Kim
On Tue, 18 Nov 2014 16:36:55 -0500, kan liang wrote: From: Kan Liang kan.li...@intel.com Currently, there are two call chain recording options, fp and dwarf. Haswell has a new feature that utilizes the existing LBR facility to record call chains. So it provides the third options to record