Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752945Ab0KINbc (ORCPT ); Tue, 9 Nov 2010 08:31:32 -0500 Received: from mga09.intel.com ([134.134.136.24]:16856 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217Ab0KINbb (ORCPT ); Tue, 9 Nov 2010 08:31:31 -0500 Message-Id: <0d30dc$k4dmjb@orsmga001.jf.intel.com> X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,174,1288594800"; d="scan'208";a="675732075" Date: Tue, 09 Nov 2010 13:31:27 +0000 To: Yuanhan Liu Subject: Re: [PATCH 2/4] tracing: introduce trace_set_clr_module_event Cc: linux-kernel@vger.kernel.org, rostedt@goodmis.org, fweisbec@gmail.com, mingo@redhat.com In-Reply-To: <20101109132058.GA22928@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> From: Chris Wilson Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 21 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. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- 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/