From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425048AbcFHUsK (ORCPT ); Wed, 8 Jun 2016 16:48:10 -0400 Received: from mail.skyhub.de ([78.46.96.112]:37181 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161862AbcFHUsH (ORCPT ); Wed, 8 Jun 2016 16:48:07 -0400 Date: Wed, 8 Jun 2016 22:48:01 +0200 From: Borislav Petkov To: Vince Weaver Cc: Ingo Molnar , tglx@linutronix.de, brgerst@gmail.com, dave@sr71.net, kan.liang@intel.com, torvalds@linux-foundation.org, acme@redhat.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, linux-kernel@vger.kernel.org, eranian@google.com, peterz@infradead.org, dvlasenk@redhat.com, hpa@zytor.com, dave.hansen@linux.intel.com, luto@amacapital.net, linux-tip-commits@vger.kernel.org Subject: Re: [tip:perf/core] perf/x86/intel: Use Intel family macros for core perf events Message-ID: <20160608204801.GC28646@pd.tnic> References: <20160603001929.C5F1C079@viggo.jf.intel.com> <20160608162529.GA25133@gmail.com> <20160608163446.GF19090@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 08, 2016 at 04:15:25PM -0400, Vince Weaver wrote: > It's also unclear what internal names matter. For example is AMD 15h/60h > "Carrizo" or "Excavator" or both? Excavator is the core and Carrizo is the APU. I think of it as the client part. But this is exactly the problem: what name do we take? Also, sometimes the core name is important (ISA supported) and sometimes the platform. It depends on the feature. Maybe a text file with more free formulations would be better. ... > (why we need two different interfaces for RAPL is another thing, not > to mention the fact that powercap you can read the values as a normal > user but with perf you need to be root to read the exact same thing). Sounds like it needs some cleaning ... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.