lkml.org 
[lkml]   [2010]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[PATCH 0/7][RESEND] tracing: Fix bugs in string filters.
    This patchset fixes some bugs in string filters. Those bugs
    affect both ftrace and perf-trace.

    A new string helper strnstr() is introduced, to be used in
    middle matching callback.

    Also I add some comments to mainly explain why we should use
    length-limited version of strstr() and strcmp().

    ---
    include/linux/string.h | 5 ++++-
    kernel/trace/ftrace.c | 6 +++---
    kernel/trace/trace_events_filter.c | 29 ++++++++++++++++++++---------
    lib/string.c | 27 ++++++++++++++++++++++++++-
    4 files changed, 53 insertions(+), 14 deletions(-)




    \
     
     \ /
      Last update: 2010-01-14 03:55    [W:0.022 / U:90.856 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site