lkml.org 
[lkml]   [2009]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:tracing/core] tracing/filters: Provide basic regex support
On Sat, Sep 26, 2009 at 06:10:05AM -0400, Steven Rostedt wrote:
> On Fri, 2009-09-25 at 06:19 +0000, tip-bot for Frederic Weisbecker
> wrote:
> > Commit-ID: 1889d20922d14a97b2099fa4d47587217c0ba48b
> > Gitweb: http://git.kernel.org/tip/1889d20922d14a97b2099fa4d47587217c0ba48b
> > Author: Frederic Weisbecker <fweisbec@gmail.com>
> > AuthorDate: Thu, 24 Sep 2009 21:10:44 +0200
> > Committer: Frederic Weisbecker <fweisbec@gmail.com>
> > CommitDate: Thu, 24 Sep 2009 21:39:27 +0200
> >
> > tracing/filters: Provide basic regex support
> >
> > This patch provides basic support for regular expressions in filters.
> >
> > It supports the following types of regexp:
> >
> > - *match_beginning
> > - *match_middle*
> > - match_end*
> > - !don't match
> >
> > Example:
> > cd /debug/tracing/events/bkl/lock_kernel
> > echo 'file == "*reiserfs*"' > filter
> > echo 1 > enable
>
> Darn! I need to keep up with my email more. Someone asked me at my
> ftrace tutorial if the filters can take regex's. I told them that I
> don't think so. Of course, my tutorial was on 2.6.31 so I was still
> correct. But it would have been nice if I told them that it will in
> 2.6.32 or 33.
>
> -- Steve


Hehe :-)

That said I guess it should be more for .33 than .32 I guess.



\
 
 \ /
  Last update: 2009-09-28 10:53    [W:0.126 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site