lkml.org 
[lkml]   [2020]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.4 109/330] selftests/ftrace: fix glob selftest
    Date
    From: Sven Schnelle <svens@linux.ibm.com>

    [ Upstream commit af4ddd607dff7aabd466a4a878e01b9f592a75ab ]

    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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    .../testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
    index 27a54a17da65d..f4e92afab14b2 100644
    --- a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
    +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc
    @@ -30,7 +30,7 @@ ftrace_filter_check '*schedule*' '^.*schedule.*$'
    ftrace_filter_check 'schedule*' '^schedule.*$'

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

    # filter by start*mid*
    ftrace_filter_check 'mutex*try*' '^mutex.*try.*'
    --
    2.25.1
    \
     
     \ /
      Last update: 2022-09-17 16:08    [W:4.021 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site