Commit af4ddd60 authored by Sven Schnelle's avatar Sven Schnelle Committed by Shuah Khan

selftests/ftrace: fix glob selftest

test.d/ftrace/func-filter-glob.tc is failing on s390 because it has
ARCH_INLINE_SPIN_LOCK and friends set to 'y'. So the usual
__raw_spin_lock symbol isn't in the ftrace function list. Change
'*aw*lock' to '*spin*lock' which would hopefully match some of the
locking functions on all platforms.
Reviewed-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent ac87813d
...@@ -30,7 +30,7 @@ ftrace_filter_check '*schedule*' '^.*schedule.*$' ...@@ -30,7 +30,7 @@ ftrace_filter_check '*schedule*' '^.*schedule.*$'
ftrace_filter_check 'schedule*' '^schedule.*$' ftrace_filter_check 'schedule*' '^schedule.*$'
# filter by *mid*end # filter by *mid*end
ftrace_filter_check '*aw*lock' '.*aw.*lock$' ftrace_filter_check '*pin*lock' '.*pin.*lock$'
# filter by start*mid* # filter by start*mid*
ftrace_filter_check 'mutex*try*' '^mutex.*try.*' ftrace_filter_check 'mutex*try*' '^mutex.*try.*'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment