Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752649Ab0KIOFr (ORCPT ); Tue, 9 Nov 2010 09:05:47 -0500 Received: from mga01.intel.com ([192.55.52.88]:51306 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751223Ab0KIOFr (ORCPT ); Tue, 9 Nov 2010 09:05:47 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,174,1288594800"; d="scan'208";a="855720039" Date: Tue, 9 Nov 2010 22:06:07 +0800 From: Yuanhan Liu To: Steven Rostedt Cc: Chris Wilson , linux-kernel@vger.kernel.org, fweisbec@gmail.com, mingo@redhat.com Subject: Re: [PATCH 2/4] tracing: introduce trace_set_clr_module_event Message-ID: <20101109140607.GC22928@localhost.localdomain> 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> <1289310971.12418.89.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1289310971.12418.89.camel@gandalf.stny.rr.com> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1140 Lines: 29 On Tue, Nov 09, 2010 at 08:56:11AM -0500, Steven Rostedt wrote: > 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. Yes, please if you are free;) Thanks. -- Yuanhan Liu > -- 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/