From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759138Ab3KMMQl (ORCPT ); Wed, 13 Nov 2013 07:16:41 -0500 Received: from merlin.infradead.org ([205.233.59.134]:56221 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758789Ab3KMMQi (ORCPT ); Wed, 13 Nov 2013 07:16:38 -0500 Date: Wed, 13 Nov 2013 13:16:17 +0100 From: Peter Zijlstra To: Ingo Molnar Cc: David Ahern , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, jolsa@redhat.com, Frederic Weisbecker , Namhyung Kim , Mike Galbraith , Stephane Eranian Subject: Re: [PATCH 4/5] perf record: mmap output file - v5 Message-ID: <20131113121617.GL21461@twins.programming.kicks-ass.net> References: <1384267617-3446-1-git-send-email-dsahern@gmail.com> <1384267617-3446-5-git-send-email-dsahern@gmail.com> <20131112145707.GV5056@laptop.programming.kicks-ass.net> <20131112150751.GA19321@ghostprotocols.net> <20131112151944.GX5056@laptop.programming.kicks-ass.net> <52824AE3.4050207@gmail.com> <20131112211121.GC25913@gmail.com> <20131113113439.GI21461@twins.programming.kicks-ass.net> <20131113115021.GA15469@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131113115021.GA15469@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 13, 2013 at 12:50:21PM +0100, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Tue, Nov 12, 2013 at 10:11:21PM +0100, Ingo Molnar wrote: > > > > > > * David Ahern wrote: > > > > > > > > Dunno.. it _should_ all work. Try it and see what it does.. Once the > > > > > events are bigger than a page things might get 'interesting' though. > > > > > > Which could be the case with call-graph recording, right? > > > > Not typically, I think we're limiting call graphs to 127 u64, which is > > ~1k. Maybe you can blow the single page if you also do a large > > top-of-stack copy for dwarf/unwind nonsense. > > What I meant was dwarf style call graph recording: Ah, one of those things I've never yet used ;-) > tools/perf/builtin-record.c: const unsigned long default_stack_dump_size = 8192; > > Doesn't that mean 8K+ events? Oh yes.. that's ideal to trigger this.