lkml.org 
[lkml]   [2010]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-11-09 12:25    [W:0.053 / U:2.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site