Messages in this thread | | | Date | Tue, 6 Dec 2016 12:21:07 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH V2 02/13] perf/core: output overhead when sched out from context |
| |
On Fri, Dec 02, 2016 at 04:19:10PM -0500, kan.liang@intel.com wrote: > From: Kan Liang <kan.liang@intel.com> > > 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.
| |