lkml.org 
[lkml]   [2013]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v2] dynamic_debug: add wildcard support to filter files/functions/modules
    From
    2013/11/7 Joe Perches <joe@perches.com>:
    > On Thu, 2013-11-07 at 11:11 +0800, Changbin Du wrote:
    >> 2013/11/1 Joe Perches <joe@perches.com>:
    >> match_<foo> functions in lib/parser.c just do simple match, they
    >> doesn't support wildcards.
    >> So it's not useful for us.
    >
    > It's not meant to be useful so much as be a possible
    > generic location for your match_regex function.
    >
    I misunderstood you. This is a appropriate file to place the matching function.
    I have moved it to this file.

    I checked the regex_match_foo functions in trace_events_filter.c. Per my
    reading, I think it's a little tedious, and only support '*' character. They are
    glued with tracing framework. So i gave up to re-used them.

    I will send new version patch set to you later.

    Thanks!
    Du, Changbin


    \
     
     \ /
      Last update: 2013-11-15 05:21    [W:2.974 / U:0.252 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site