Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754109Ab3JQJMU (ORCPT ); Thu, 17 Oct 2013 05:12:20 -0400 Received: from mail.skyhub.de ([78.46.96.112]:41638 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753450Ab3JQJMQ (ORCPT ); Thu, 17 Oct 2013 05:12:16 -0400 Date: Thu, 17 Oct 2013 11:12:00 +0200 From: Borislav Petkov To: Peter Zijlstra Cc: Ingo Molnar , Stephane Eranian , Arnaldo Carvalho de Melo , LKML , "mingo@elte.hu" , "ak@linux.intel.com" , Jiri Olsa , "Yan, Zheng" Subject: Re: [PATCH v2 0/3] perf,x86: add Intel RAPL PMU support Message-ID: <20131017091200.GE5036@pd.tnic> References: <1381416608-2741-1-git-send-email-eranian@google.com> <20131010180049.GD9929@pd.tnic> <20131016124627.GA2611@gmail.com> <20131016175302.GB4100@infradead.org> <20131017081420.GB22705@gmail.com> <20131017090730.GK2675@laptop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20131017090730.GK2675@laptop.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 728 Lines: 21 On Thu, Oct 17, 2013 at 11:07:30AM +0200, Peter Zijlstra wrote: > The downside to such a sysfs entry will be the scope. It would either > be pmu wide (unwieldy for many PMUs) or be only per listed event; and > we really don't want exhaustive event lists in the kernel. So why not teach perf tool to recognize the PMU instead of adding anything to the kernel? It seems much easier to me... -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/