[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101109112320.GA21828@localhost.localdomain>
Date: Tue, 9 Nov 2010 19:23:20 +0800
From: Yuanhan Liu <yuanhan.liu@...ux.intel.com>
To: linux-kernel@...r.kernel.org
Cc: rostedt@...dmis.org, fweisbec@...il.com, mingo@...hat.com,
chris@...is-wilson.co.uk
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists