Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752835Ab0KINUq (ORCPT ); Tue, 9 Nov 2010 08:20:46 -0500 Received: from mga01.intel.com ([192.55.52.88]:45470 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752130Ab0KINUj (ORCPT ); Tue, 9 Nov 2010 08:20:39 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,174,1288594800"; d="scan'208";a="855709214" Date: Tue, 9 Nov 2010 21:20:59 +0800 From: Yuanhan Liu To: Chris Wilson Cc: linux-kernel@vger.kernel.org, rostedt@goodmis.org, fweisbec@gmail.com, mingo@redhat.com Subject: Re: [PATCH 2/4] tracing: introduce trace_set_clr_module_event Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 810 Lines: 22 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? >and implement a generic option parser > from within trace/ as opposed to each individual module. Nope, this patch does implement a generic option parser within trace/, and we just call this function from a module. 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/