lkml.org 
[lkml]   [2018]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[RFC][PATCH 0/6] tracing: Fix bogus parsing of probes and set_ftrace_filter

Al Viro pointed out a couple of bugs with the parsing of the
removing of function probes and the parsing of set_ftrace_filter
strings.

This patch series implements his suggested fixes and adds selftests
that would have caught the bugs in the first place.


Steven Rostedt (VMware) (6):
ftrace: Remove incorrect setting of glob search field
tracing: Fix parsing of globs with a wildcard at the beginning
selftests/ftrace: Have reset_ftrace_filter handle modules
selftests/ftrace: Have reset_ftrace_filter handle multiple instances
selftests/ftrace: Add some missing glob checks
selftests/ftrace: Add more tests for removing of function probes

----
kernel/trace/ftrace.c | 1 -
kernel/trace/trace_events_filter.c | 9 +++---
.../ftrace/test.d/ftrace/func-filter-glob.tc | 6 ++++
.../ftrace/test.d/ftrace/func_set_ftrace_file.tc | 37 ++++++++++++++++++++++
tools/testing/selftests/ftrace/test.d/functions | 10 ++++--
5 files changed, 54 insertions(+), 9 deletions(-)

\
 
 \ /
  Last update: 2018-02-06 23:48    [W:0.158 / U:8.976 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site