Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754439Ab0KHOO2 (ORCPT ); Mon, 8 Nov 2010 09:14:28 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:33974 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754249Ab0KHOO1 (ORCPT ); Mon, 8 Nov 2010 09:14:27 -0500 Date: Mon, 8 Nov 2010 09:14:20 -0500 From: Christoph Hellwig To: Steven Rostedt Cc: Chris Wilson , Christoph Hellwig , Yuanhan Liu , linux-kernel@vger.kernel.org, Frederic Weisbecker , Ingo Molnar Subject: Re: [PATCH] Tracing: do export trace_set_clr_event Message-ID: <20101108141420.GA12548@infradead.org> References: <1289196312-25323-1-git-send-email-yuanhan.liu@linux.intel.com> <20101108095610.GA22592@infradead.org> <5b55a1$ijitko@fmsmga002.fm.intel.com> <1289224934.12418.1.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1289224934.12418.1.camel@gandalf.stny.rr.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 714 Lines: 14 On Mon, Nov 08, 2010 at 09:02:14AM -0500, Steven Rostedt wrote: > I like the trace=on parameter much better. If that is set we could > enable the tracepoints of that module at load time. I really do not want > to export the function that was proposed in that patch. Yes. Adding generic support in the module loader to turn on tracepoint seems like the much better long term strategy. Even better if it allows turning on individual points instead of all or nothing. -- 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/