]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca00002cf0a377067840efca70d2acf3c179d4ea
tree7d41db3f33bbd173e391e80309b17e4f9421ad2c
parent426c04e3d713b1f362d81c0481fb414b277886a4
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