Re: [PATCH 01/10] perf/x86/intel: Introduce a concept "domain" as the scope of counters

From: Peter Zijlstra
Date: Wed Feb 20 2019 - 06:12:41 EST


On Tue, Feb 19, 2019 at 12:00:02PM -0800, kan.liang@xxxxxxxxxxxxxxx wrote:
> It's very useful to abstract several common topology related codes for
> these modules to reduce the code redundancy.

> 3 files changed, 96 insertions(+), 1 deletion(-)

So you add 100 lines, so we can remove lines when we start to use this.

Except all 3 follow up patches that employ this, all add more lines
still:

1 file changed, 184 insertions(+), 157 deletions(-)
3 files changed, 164 insertions(+), 80 deletions(-)
1 file changed, 224 insertions(+), 82 deletions(-)