Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591Ab0KIN4O (ORCPT ); Tue, 9 Nov 2010 08:56:14 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:39812 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751448Ab0KIN4N (ORCPT ); Tue, 9 Nov 2010 08:56:13 -0500 X-Authority-Analysis: v=1.1 cv=kXGwZUU/u1JTMRv8Axk4W0omja+vfTT+sGlOkodD8F8= c=1 sm=0 a=9-zhcS6hyJAA:10 a=Q9fys5e9bTEA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=QyXUC8HyAAAA:8 a=_HXIdPbaxWApDmnL9u4A:9 a=rFWuAbzv549cd-Gt1UninRMkJ54A:4 a=PUjeQqilurYA:10 a=ZkfbeE0DKQP_ZAZZ:21 a=zrqvh1gMVXjpYASF:21 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Subject: Re: [PATCH 2/4] tracing: introduce trace_set_clr_module_event From: Steven Rostedt To: Chris Wilson Cc: Yuanhan Liu , linux-kernel@vger.kernel.org, fweisbec@gmail.com, mingo@redhat.com In-Reply-To: <0d30dc$k4dmjb@orsmga001.jf.intel.com> References: <1289293967-31761-1-git-send-email-yuanhan.liu@linux.intel.com> <1289293967-31761-2-git-send-email-yuanhan.liu@linux.intel.com> <20101109112320.GA21828@localhost.localdomain> <20101109132058.GA22928@localhost.localdomain> <0d30dc$k4dmjb@orsmga001.jf.intel.com> Content-Type: text/plain; charset="ISO-8859-15" Date: Tue, 09 Nov 2010 08:56:11 -0500 Message-ID: <1289310971.12418.89.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 999 Lines: 24 On Tue, 2010-11-09 at 13:31 +0000, Chris Wilson wrote: > On Tue, 9 Nov 2010 21:20:59 +0800, Yuanhan Liu wrote: > > On Tue, Nov 09, 2010 at 11:27:18AM +0000, Chris Wilson wrote: > > > I've not looked closely at this yet, but it seems like we should be able > > > to hook into a trace_module_notify > > > > But there should be someplace to enable these events, right? And how do > > you tell trace_module_notify to just enable one or several specific > > event? > > Yes, I was thinking of extending the module loader to permit core to > hook into parse_args() and so the trace= facility could work with any > module without exporting any new functions. Exactly, if you want, I probably could whip up a patch. -- Steve -- 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/