Re: [PATCH 4/6] perf: Fix hw breakpoints overflow period sampling

2013-04-04 Thread Peter Zijlstra
On Sun, 2013-03-10 at 19:41 +0100, Jiri Olsa wrote: > The hw breakpoint pmu 'add' function is missing the > period_left update needed for SW events. > > The perf HW breakpoint events use SW events framework > for to process the overflow, so it needs to be properly > initialized during PMU 'add' me

[PATCH 4/6] perf: Fix hw breakpoints overflow period sampling

2013-03-10 Thread Jiri Olsa
The hw breakpoint pmu 'add' function is missing the period_left update needed for SW events. The perf HW breakpoint events use SW events framework for to process the overflow, so it needs to be properly initialized during PMU 'add' method. Signed-off-by: Jiri Olsa Cc: Thomas Gleixner Cc: H. Pet