Re: [PATCH V8 00/14] perf, x86: Haswell LBR call stack support (kernel)

2014-11-10 Thread Peter Zijlstra
On Mon, Nov 10, 2014 at 01:54:03PM +, Liang, Kan wrote: > > Yes, Zheng's patches are exact same patches as you already had. I only > remove 11, 13,16, 17 from previous patch set and add your new patch (no > change). OK thanks for confirming, I didn't find any changes, but that could equally

RE: [PATCH V8 00/14] perf, x86: Haswell LBR call stack support (kernel)

2014-11-10 Thread Liang, Kan
> > On Thu, Nov 06, 2014 at 09:54:17AM -0500, Kan Liang wrote: > > Yan, Zheng (13): > > perf, x86: Reduce lbr_sel_map size > > perf, core: introduce pmu context switch callback > > perf, x86: use context switch callback to flush LBR stack > > perf, x86: Basic Haswell LBR call stack suppo

Re: [PATCH V8 00/14] perf, x86: Haswell LBR call stack support (kernel)

2014-11-10 Thread Peter Zijlstra
On Thu, Nov 06, 2014 at 09:54:17AM -0500, Kan Liang wrote: > Yan, Zheng (13): > perf, x86: Reduce lbr_sel_map size > perf, core: introduce pmu context switch callback > perf, x86: use context switch callback to flush LBR stack > perf, x86: Basic Haswell LBR call stack support > perf, core

[PATCH V8 00/14] perf, x86: Haswell LBR call stack support (kernel)

2014-11-06 Thread Kan Liang
This is the kernel patch. For many profiling tasks we need the callgraph. For example we often need to see the caller of a lock or the caller of a memcpy or other library function to actually tune the program. Frame pointer unwinding is efficient and works well. But frame pointers are off by defau