tools/power turbostat: save original CPU model
authorZhang Rui <rui.zhang@intel.com>
Mon, 26 Apr 2021 02:05:27 +0000 (10:05 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 5 May 2021 00:01:08 +0000 (20:01 -0400)
commite9d3092f6d7c21031c8ac10ba2016ae0482a39fe
tree7d41db3f33bbd173e391e80309b17e4f9421ad2c
parent7ab5ff4937a338783d147ec2d8c8714f48a5de79
tools/power turbostat: save original CPU model

CPU model may get changed in intel_model_duplicates() for code reuse.
But there are still some cases we need the original CPU model to handle
minor differences between generations.

Thus save the original CPU model.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c