Re: [PATCH 08/14] perf, x86: allocate space for storing LBR stack

2014-02-05 Thread Stephane Eranian
On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng wrote: > When the LBR call stack is enabled, it is necessary to save/restore > the LBR stack on context switch. We can use pmu specific data to > store LBR stack when task is scheduled out. This patch adds code > that allocates the pmu specific data. >

Re: [PATCH 08/14] perf, x86: allocate space for storing LBR stack

2014-02-05 Thread Stephane Eranian
On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng zheng.z@intel.com wrote: When the LBR call stack is enabled, it is necessary to save/restore the LBR stack on context switch. We can use pmu specific data to store LBR stack when task is scheduled out. This patch adds code that allocates the pmu

[PATCH 08/14] perf, x86: allocate space for storing LBR stack

2014-01-02 Thread Yan, Zheng
When the LBR call stack is enabled, it is necessary to save/restore the LBR stack on context switch. We can use pmu specific data to store LBR stack when task is scheduled out. This patch adds code that allocates the pmu specific data. Signed-off-by: Yan, Zheng ---

[PATCH 08/14] perf, x86: allocate space for storing LBR stack

2014-01-02 Thread Yan, Zheng
When the LBR call stack is enabled, it is necessary to save/restore the LBR stack on context switch. We can use pmu specific data to store LBR stack when task is scheduled out. This patch adds code that allocates the pmu specific data. Signed-off-by: Yan, Zheng zheng.z@intel.com ---