From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752590Ab1IWVZz (ORCPT ); Fri, 23 Sep 2011 17:25:55 -0400 Received: from casper.infradead.org ([85.118.1.10]:40199 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752105Ab1IWVZy (ORCPT ); Fri, 23 Sep 2011 17:25:54 -0400 Date: Fri, 23 Sep 2011 18:25:23 -0300 From: Arnaldo Carvalho de Melo To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Anton Blanchard , Darren Hart , David Ahern , "David S . Miller" , Eric B Munson , Frederic Weisbecker , Ian Munsie , Ingo Molnar , Masami Hiramatsu , Mike Galbraith , Paul Mackerras , Pekka Enberg , Peter Zijlstra , Robert Richter , Stephane Eranian , Thomas Gleixner , yrl.pp-manager.tt@hitachi.com Subject: Re: [GIT PULL 00/12] perf tools fixes Message-ID: <20110923212523.GD27519@ghostprotocols.net> References: <1316809586-28529-1-git-send-email-acme@infradead.org> <20110923211158.GC27519@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110923211158.GC27519@ghostprotocols.net> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.19 (2009-01-05) X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Sep 23, 2011 at 06:11:58PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Sep 23, 2011 at 02:05:25PM -0700, Linus Torvalds escreveu: > > On Fri, Sep 23, 2011 at 2:03 PM, Linus Torvalds > > wrote: > > > > > > But it obviously doesn't affect the kernel compile. It *does* affect > > > the perf tool compile, and util/python.c no longer compiles because > > > the byte-swap flag isn't passed to it. > > > > This stupid patch makes it compile. But see the comment.. > > Yes, this is what I was going to push and will if you haven't already > done so, did you? Well, its in that branch now. It should be 0 or false for that last parm (swapped) because in the python binding we're not processing perf.data files that may have been captured on another machine of a different endianness, but an events stream in the same machine. Sorry about the noise, there is a problem in the way the python binding is built, i.e. it should notice that the header changed and rebuild the python binding, I bet this was what made David not notice it :-\ You noticed it probably because it was the first build of the tool on your local repo or used a new O= output dir. - Arnaldo