On Fri, Dec 02, 2016 at 04:19:10PM -0500, [email protected] wrote: > From: Kan Liang <[email protected]> > > Outputing every overhead when it happens is very costly. The accumulated > time is more meaningful. So the overhead information should be outputted > at the very end. > > The overhead information is outputted when task is scheduling out or the > event is going to be disabled.
Why? The context switch stuff can happen very frequently. Doesn't seem like a good place to add overhead. > The arch specific overhead is outputted in event pmu delete, when Flag > PERF_EF_LOG is set.

