Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755292Ab2EPP2k (ORCPT ); Wed, 16 May 2012 11:28:40 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]:43291 "EHLO mail-gg0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755228Ab2EPP2h (ORCPT ); Wed, 16 May 2012 11:28:37 -0400 Date: Wed, 16 May 2012 12:28:31 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML Subject: Re: [PATCH 3/3] perf target: Add need_mmap field Message-ID: <20120516152831.GE7864@infradead.org> References: <1337161549-9870-1-git-send-email-namhyung.kim@lge.com> <1337161549-9870-3-git-send-email-namhyung.kim@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1337161549-9870-3-git-send-email-namhyung.kim@lge.com> X-Url: http://acmel.wordpress.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 Content-Length: 568 Lines: 15 Em Wed, May 16, 2012 at 06:45:49PM +0900, Namhyung Kim escreveu: > If perf doesn't mmap on event (like perf stat), it > should not create per-task-per-cpu events. So just > use a dummy cpu map to create a per-task event for > this case. Humm, perhaps target.no_mmap is better? I.e. just perf-stat would set it. - Arnaldo -- 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/