[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1260337920.2146.66.camel@gandalf.stny.rr.com>
Date: Wed, 09 Dec 2009 00:52:00 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Li Zefan <lizf@...fujitsu.com>
Cc: Ingo Molnar <mingo@...e.hu>,
Frederic Weisbecker <fweisbec@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 05/13] ftrace: Call trace_parser_clear() properly
On Tue, 2009-12-08 at 11:15 +0800, Li Zefan wrote:
> I found a weird behavior:
>
> # echo 'fuse:*' > set_ftrace_filter
> bash: echo: write error: Invalid argument
> # cat set_ftrace_filter
> fuse_dev_fasync
> fuse_dev_poll
> fuse_copy_do
>
> We should call trace_parser_clear() no matter ftrace_process_regex()
> returns 0 or -errno.
This confused me at first. I applied this patch and I saw that I still
got the warning, but the functions did not got through. Then I realized
that there was no ":mod:" in that filtering.
Yeah, that was a weird side effect. Good catch!
-- Steve
--
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