Re: [PATCH] Add model number of Skylake server to oprofile

William Cohen <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
On 04/15/2016 04:14 PM, Andi Kleen wrote:
> From: Andi Kleen <[email protected]>
> 
> Just reuse the event list of Skylake client.
> 
> Signed-off-by: Andi Kleen <[email protected]>
> ---
>  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:
> 

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

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.