Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752103Ab0HTJQs (ORCPT ); Fri, 20 Aug 2010 05:16:48 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:47861 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143Ab0HTJQq (ORCPT ); Fri, 20 Aug 2010 05:16:46 -0400 Date: Fri, 20 Aug 2010 05:16:45 -0400 From: Christoph Hellwig To: Arnaldo Carvalho de Melo Cc: Christoph Hellwig , Frederic Weisbecker , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra Subject: Re: callchain sampling bug in perf? Message-ID: <20100820091645.GA20138@infradead.org> References: <20100815225359.GA32152@infradead.org> <20100819005720.GB5324@nowhere> <20100819085700.GB8782@infradead.org> <20100819150422.GA325@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100819150422.GA325@ghostprotocols.net> User-Agent: Mutt/1.5.20 (2009-08-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.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 Content-Length: 1210 Lines: 28 On Thu, Aug 19, 2010 at 12:04:22PM -0300, Arnaldo Carvalho de Melo wrote: > > [acme@doppio tmp]$ perf report > > http://vger.kernel.org/~acme/perf/perf-report-tui-callchain-xlog_sync.png > > So it seems to work (you tell me if the callchains make sense), and the problem I've rebuilt perf with libnewt to reproduce it, but to get any of the callchain data I need to call perf report with a -g argument (which is rather expected from the documentation anyway) I still see the same problems as with the TUI perf report with that. With the -g {mode},0.0 there is nothing to expand inside the GUI for e.g. the pythong process, and with the 0.0 threshold I can only expand a few 0. callchains, but I never see the 80% your screenshot shows. What perf version are you running? Also the flat mode is rendered incorrectly, it just adds different call graphs inside a single process directly after each other instead of separating them in the rendering. -- 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/