Re: [PATCH 04/15] perf, x86: Use context switch callback to flush LBR stack

2013-12-17 Thread Ingo Molnar
* Yan, Zheng wrote: > From: "Yan, Zheng" > > Enable pmu context switch callback if LBR is used. Use the callback > to flush LBR stack when process is scheduled in. > > Signed-off-by: Yan, Zheng I see several fundamental problems with your series: 1) Minimal changelogs like the ones in thi

[PATCH 04/15] perf, x86: Use context switch callback to flush LBR stack

2013-12-10 Thread Yan, Zheng
From: "Yan, Zheng" Enable pmu context switch callback if LBR is used. Use the callback to flush LBR stack when process is scheduled in. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event.c | 7 --- arch/x86/kernel/cpu/perf_event.h | 2 - arch/x86/kernel/cpu/perf