提交 254d0d2c 编写于 作者: S Sven Schnelle 提交者: Yang Yingliang

selftests/ftrace: fix glob selftest

[ Upstream commit af4ddd60 ]

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: NSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: NSven Schnelle <svens@linux.ibm.com>
Signed-off-by: NShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 b0107f09
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册