Re: [PATCH 14/14] perf, x86: Discard zero length call entries in LBR call stack

2014-02-06 Thread Stephane Eranian
On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng wrote: > "Zero length call" uses the attribute of the call instruction to push > the immediate instruction pointer on to the stack and then pops off > that address into a register. This is accomplished without any matching > return instruction. It

Re: [PATCH 14/14] perf, x86: Discard zero length call entries in LBR call stack

2014-02-06 Thread Stephane Eranian
On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng zheng.z@intel.com wrote: Zero length call uses the attribute of the call instruction to push the immediate instruction pointer on to the stack and then pops off that address into a register. This is accomplished without any matching return

[PATCH 14/14] perf, x86: Discard zero length call entries in LBR call stack

2014-01-02 Thread Yan, Zheng
"Zero length call" uses the attribute of the call instruction to push the immediate instruction pointer on to the stack and then pops off that address into a register. This is accomplished without any matching return instruction. It confuses the hardware and make the recorded call stack incorrect.

[PATCH 14/14] perf, x86: Discard zero length call entries in LBR call stack

2014-01-02 Thread Yan, Zheng
Zero length call uses the attribute of the call instruction to push the immediate instruction pointer on to the stack and then pops off that address into a register. This is accomplished without any matching return instruction. It confuses the hardware and make the recorded call stack incorrect.