Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754562Ab0FVGfb (ORCPT ); Tue, 22 Jun 2010 02:35:31 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:44930 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753576Ab0FVGf3 (ORCPT ); Tue, 22 Jun 2010 02:35:29 -0400 Date: Tue, 22 Jun 2010 02:34:28 -0400 From: Christoph Hellwig To: Srikar Dronamraju Cc: Steven Rostedt , Peter Zijlstra , Ingo Molnar , Masami Hiramatsu , Mel Gorman , Randy Dunlap , Arnaldo Carvalho de Melo , Roland McGrath , "H. Peter Anvin" , Christoph Hellwig , Ananth N Mavinakayanahalli , Oleg Nesterov , Mark Wielaard , Mathieu Desnoyers , Andrew Morton , Linus Torvalds , Frederic Weisbecker , Jim Keniston , "Rafael J. Wysocki" , "Frank Ch. Eigler" , LKML , "Paul E. McKenney" Subject: Re: [PATCH v5 11/14] trace: uprobes trace_event interface Message-ID: <20100622063428.GA15092@infradead.org> References: <20100614082748.29068.21995.sendpatchset@localhost6.localdomain6> <20100614083008.29068.56731.sendpatchset@localhost6.localdomain6> <1277130156.9181.11.camel@gandalf.stny.rr.com> <20100622041529.GA25989@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100622041529.GA25989@linux.vnet.ibm.com> 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: 1206 Lines: 23 On Tue, Jun 22, 2010 at 09:45:29AM +0530, Srikar Dronamraju wrote: > As you see UPROBE_EVENT is gated on UPROBES. I think if UPROBES is > enabled, then UPROBE_EVENT should be enabled. Esp with Christoph > suggesting for module support to be removed, I think it becomes all the > more reason for UPROBE_EVENT to be enabled by default. Otherwise there > is no point in having uprobes code and having no enabled users. > I was even looking at "select UPROBE_EVENT" on enabling UPROBES. > > Do you have any specific reason why UPROBE_EVENT should not be enabled > by default? default y generally is a big hammer. But given that it depends on UPROBES it might be fine here. Then again the big question is why we even bother with separate config options? At least in this form UPROBES just is supported for UPROBE_EVENT. So it makes sense either to remove the UPROBES option entirely, or at least make it invisible to the user and let UPROBE_EVENT select it. -- 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/