Re: [PATCH 2/4] tracing: introduce trace_set_clr_module_event

From: Yuanhan Liu
Date: Tue Nov 09 2010 - 08:20:49 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/