Discussion:
[PATCH] Add model number of Skylake server to oprofile
(too old to reply)
Andi Kleen
2016-04-15 20:14:51 UTC
Permalink
Raw Message
From: Andi Kleen <***@linux.intel.com>

Just reuse the event list of Skylake client.

Signed-off-by: Andi Kleen <***@linux.intel.com>
---
libop/op_hw_specific.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/libop/op_hw_specific.h b/libop/op_hw_specific.h
index 994fec473ebc..a6180f47fd21 100644
--- a/libop/op_hw_specific.h
+++ b/libop/op_hw_specific.h
@@ -156,6 +156,7 @@ static inline op_cpu op_cpu_specific_type(op_cpu cpu_type)
return CPU_BROADWELL;
case 0x4e:
case 0x5e:
+ case 0x55:
return CPU_SKYLAKE;
case 0x37:
case 0x4d:
--
2.5.5
William Cohen
2016-04-18 03:25:10 UTC
Permalink
Raw Message
Post by Andi Kleen
Just reuse the event list of Skylake client.
---
libop/op_hw_specific.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libop/op_hw_specific.h b/libop/op_hw_specific.h
index 994fec473ebc..a6180f47fd21 100644
--- a/libop/op_hw_specific.h
+++ b/libop/op_hw_specific.h
@@ -156,6 +156,7 @@ static inline op_cpu op_cpu_specific_type(op_cpu cpu_type)
return CPU_BROADWELL;
return CPU_SKYLAKE;
Hi Andi,

This patch looks pretty straight forward for the oprofile user-space and matches up with the following kernel patch:

http://comments.gmane.org/gmane.linux.kernel/2200215

It has been applied to upstream oprofile git repository. Thanks for the patch.


-Will

Loading...