Messages in this thread | | | Date | Tue, 9 Nov 2010 19:23:20 +0800 | From | Yuanhan Liu <> | Subject | Re: [PATCH 2/4] tracing: introduce trace_set_clr_module_event |
| |
On Tue, Nov 09, 2010 at 05:12:45PM +0800, Yuanhan Liu wrote:
[ snip ]
> + for_each_token(token, p) { > + for_each_event(call, start, end) { > + if (strcmp(token, "*") == 0 || > + strcmp(token, call->name) == 0) > + ftrace_event_enable_disable(call, set); > + else > + pr_warning("Failed to find trace event: %s " > + "in module %s\n", token, mod->name); Oops, sorry for this obvious error, will fix it.
Besides that, any comments?
Thanks.
-- Yuanhan Liu > + > + } > + } > + kfree(buf); > + return 0; > +} > +EXPORT_SYMBOL_GPL(trace_set_clr_module_event); > + > + > #else > static int trace_module_notify(struct notifier_block *self, > unsigned long val, void *data) > -- > 1.7.2.3
| |