On Fri, Aug 02, 2013 at 06:29:55PM +0200, Frederic Weisbecker wrote: > Freq events may not always be affine to a particular CPU. As such, > account_event_cpu() may crash if we account per cpu a freq event > that has event->cpu == -1. > > To solve this, lets account freq events globally. In practice > this doesn't change much the picture because perf tools create > per-task perf events with one event per CPU by default. Profiling a > single CPU is usually a corner case so there is no much point in > optimizing things that way. > > Reported-by: Jiri Olsa <[email protected]> > Suggested-by: Peter Zijlstra <[email protected]> > Signed-off-by: Frederic Weisbecker <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Jiri Olsa <[email protected]> > Cc: Namhyung Kim <[email protected]> > Cc: Arnaldo Carvalho de Melo <[email protected]> > Cc: Stephane Eranian <[email protected]>
no more OOPSes ;-) Tested-by: Jiri Olsa <[email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

