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

Andi Kleen ak at linux.intel.com
Sat Dec 16 10:47:01 PST 2017


> 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



More information about the linux-arm-kernel mailing list