[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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

 \ /
  Last update: 2009-12-09 06:55    [W:0.149 / U:0.252 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site