Re: [RFC PATCH 2/5] perf jevents: add support for arch recommended events

From: Andi Kleen
Date: Sat Dec 16 2017 - 13:47:18 EST


> Won't this all potentially have a big maintainence cost?

No. It's all auto generated.

The only cost is slightly bigger binary size.

I would hope your event files are auto generated too.

> I just don't know how this schema scales with more archs and more platforms
> supported. It's just early days now...

Only perf will get slightly bigger, but memory is not exactly expensive.

In fact, the extra memory won't even be faulted in if it's not used,
so it's only disk space.

-Andi