]> 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)
commit013ed55b12645da33bcf494406655dbbea908ea0
tree7d41db3f33bbd173e391e80309b17e4f9421ad2c
parent4579a372dc3ad60565c2c9c34df4e6b8c78aab83
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