Re: Needed fix for set_ftrace_filter

From: Steven Rostedt
Date: Thu Nov 13 2008 - 23:06:57 EST



On Thu, 13 Nov 2008, Steven Rostedt wrote:

>
> Ingo,
>
> I noticed that the set_ftrace_filter in mainline is badly broken. It
> displays all files (incorrectly) and lets you only filter once. After
> that, it does not filter anymore.

OK, only the output is broken. I confused myself by not setting the right
function and then not seeing it print. But because I can not see what
filters are set, I did not notice I typed the wrong function.

Still, this is a easy fix (3 lines changed) for an annoying bug.

-- Steve

>
> Here's the posted fix:
>
> http://marc.info/?l=linux-kernel&m=122611613419814&w=2
>
> and it is in tip:
>
> commit 0183fb1c94b74862b073590fc52c56b7364b7bad
>
> ftrace: fix set_ftrace_filter
>
>
> Could you get that pushed up to Linus. I cherry picked it into my local
> mainline git repo, and it worked fine.
>
> Thanks,
>
> -- Steve
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/