From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756764Ab3KLVLb (ORCPT ); Tue, 12 Nov 2013 16:11:31 -0500 Received: from mail-ea0-f169.google.com ([209.85.215.169]:56571 "EHLO mail-ea0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753427Ab3KLVLY (ORCPT ); Tue, 12 Nov 2013 16:11:24 -0500 Date: Tue, 12 Nov 2013 22:11:21 +0100 From: Ingo Molnar To: David Ahern Cc: Peter Zijlstra , 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: <20131112211121.GC25913@gmail.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52824AE3.4050207@gmail.com> 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 * 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? > one option here is not allow page faults and system wide system calls. > system wide tracing needs mmap; page faults for a task can use write(). > I left that option in case something like this came up. So maybe splice() sounds like the right long term solution after all? :-/ Thanks, Ingo