Re: [tip:perf/core] perf/x86/intel: Use Intel family macros for core perf events

From: Borislav Petkov
Date: Wed Jun 08 2016 - 12:34:53 EST


On Wed, Jun 08, 2016 at 06:25:29PM +0200, Ingo Molnar wrote:
> model string : IvyBridge_X
>
> ... or something like that. The string could even be auto-generated from the list
> in intel-family.h?

Yap, that sounds cool too. And then we should issue that too during boot:

[ 0.542398] smpboot: CPU0: AMD FX(tm)-8350 Eight-Core Processor (family: 0x15, model: 0x2, stepping: 0x0; Piledriver)

so that we don't need to ask for dmesg *and* /proc/cpuinfo.

Hohumm, this should be very useful.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.