]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/ftrace: fix glob selftest
authorSven Schnelle <svens@linux.ibm.com>
Tue, 28 Jan 2020 08:30:29 +0000 (09:30 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 28 Jan 2020 20:36:48 +0000 (13:36 -0700)
commite18c2638f98701ad94e6d795699c4901158e9bb0
treed1821b1c773a09ab19551de837b2024e56253e20
parent5979b17fb5d91ecaefe6d03df126c2d4f3e702f0
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) <rostedt@goodmis.org>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc