Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753879AbbBPQMh (ORCPT ); Mon, 16 Feb 2015 11:12:37 -0500 Received: from mail-bn1on0119.outbound.protection.outlook.com ([157.56.110.119]:51922 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753109AbbBPQMf (ORCPT ); Mon, 16 Feb 2015 11:12:35 -0500 Date: Mon, 16 Feb 2015 10:10:45 -0600 From: Tom Huynh To: Andi Kleen CC: Ingo Molnar , Jiri Olsa , "Peter Zijlstra" , Tom Huynh , , , , , , , , Subject: Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs Message-ID: <20150216161045.GA32564@rivendell> References: <1423262636-12053-1-git-send-email-tom.huynh@freescale.com> <1423262636-12053-2-git-send-email-tom.huynh@freescale.com> <20150209100242.GM23123@twins.programming.kicks-ass.net> <20150209100738.GA5461@gmail.com> <20150209121132.GB3952@krava.redhat.com> <20150209132557.GA8099@gmail.com> <20150209204019.GA13991@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20150209204019.GA13991@two.firstfloor.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=tom.huynh@freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(24454002)(51704005)(57986006)(81442002)(77096005)(106466001)(33716001)(76482003)(76506005)(77156002)(19580395003)(6806004)(87936001)(960300001)(85426001)(104016003)(105606002)(93886004)(47776003)(97756001)(50466002)(2950100001)(92566002)(46102003)(83506001)(82202001)(54356999)(62966003)(110136001)(23726002)(50986999)(561944003)(73392002)(46406003)(33656002)(76176999)(87572001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN1PR0301MB0738;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0738; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004);SRVR:BN1PR0301MB0738; X-Forefront-PRVS: 0489CFBAC9 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0738; X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2015 16:12:32.1005 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0738 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1885 Lines: 43 On Mon, Feb 09, 2015 at 09:40:19PM +0100, Andi Kleen wrote: > > I'll NAK any external 'download area' (and I told that Andi > > before): tools/perf/event-tables/ or so is a good enough > > 'download area' with fast enough update cycles. > > The proposal was to put it on kernel.org, similar to how > external firmware blobs are distributed. CPU event lists > are data sheets, so are like firmware. They do not > follow the normal kernel code licenses. They are not > source code. They cannot be reviewed in the normal way. Could you provide more details about the license and review concern? How are the event list files different from hardware- specific information (e.g. reg mapping) in header files? > > If any 'update' of event descriptions is needed it can > > happen through the distro package mechanism, or via a > > simple 'git pull' if it's compiled directly. > > > > Lets not overengineer this with any dependence on an > > external site and with a separate update mechanism - lets > > just get the tables into tools/ and see it from there... > > That experiment has been already done for oprofile, > didn't work very well. Please excuse my ignorance, could you say exactly what didn't work well for oprofile? Ingo's suggestion seems good to me because these event files will be transparent to the users, and it's just more convenient not having to go to a website to look for the event file that matches the machine to download. The distro package or the perf make mechanism can put these files into the appropriate directory. The users who are not perf developers won't need to know about these files. - Tom -- 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/