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

From: Peter Zijlstra
Date: Fri Sep 01 2017 - 08:31:39 EST


On Fri, Sep 01, 2017 at 01:45:17PM +0300, Alexey Budankov wrote:
> Well, this looks like an "opposite" approach to event timekeeping in
> comparison to what we currently have.

I would say 'sane' approach. The current thing is horrible.

> Do you want this rework before or after the current patch set?

Before I would think, because the whole point of the rb-tree thing is to
not touch all events all the time. And you can only do that after you
fix that timekeeping.