Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping

From: Peter Zijlstra
Date: Tue Sep 05 2017 - 07:20:11 EST


On Tue, Sep 05, 2017 at 01:17:39PM +0300, Alexey Budankov wrote:
> However we can't completely get rid of whole tree iterations because of
> inheritance code on forks in perf_event_init_context() here:

Right, fork() / inherit needs to iterate the full thing, nothing to be
done about that.

I'll go make proper patches for that timekeeping rewrite and then have a
look at your patches.