Re: [PATCH 5/9] perf/x86/intel: Set correct weight for TopDown metrics events

From: Peter Zijlstra
Date: Tue May 28 2019 - 09:53:39 EST


On Tue, May 21, 2019 at 02:40:51PM -0700, kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> The topdown metrics and slots events are mapped to a fixed counter,
> but should have the normal weight for the scheduler.

You forgot the 'why/because' part of that sentence.

> So special case this.