Re: [PATCH 04/14] perf/x86: output side-band events overhead

From: Peter Zijlstra
Date: Wed Nov 23 2016 - 15:07:03 EST


On Wed, Nov 23, 2016 at 04:44:42AM -0500, kan.liang@xxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxx>
>
> Iterating all events which need to receive side-band events also bring
> some overhead.
> Save the overhead information in task context or CPU context, whichever
> context is available.
>
> Signed-off-by: Kan Liang <kan.liang@xxxxxxxxx>
> ---
> include/linux/perf_event.h | 2 ++
> include/uapi/linux/perf_event.h | 1 +
> kernel/events/core.c | 32 ++++++++++++++++++++++++++++----
> 3 files changed, 31 insertions(+), 4 deletions(-)

Guess?