Skip to content

Commit af4ddd6

Browse files
svens-s390shuahkh
authored andcommitted
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: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Sven Schnelle <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent ac87813 commit af4ddd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ftrace_filter_check '*schedule*' '^.*schedule.*$'
3030
ftrace_filter_check 'schedule*' '^schedule.*$'
3131

3232
# filter by *mid*end
33-
ftrace_filter_check '*aw*lock' '.*aw.*lock$'
33+
ftrace_filter_check '*pin*lock' '.*pin.*lock$'
3434

3535
# filter by start*mid*
3636
ftrace_filter_check 'mutex*try*' '^mutex.*try.*'

0 commit comments

Comments
 (0)