lkml.org 
[lkml]   [2022]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.16 0636/1039] selftests/ftrace: make kprobe profile testcase description unique
    Date
    From: Heiko Carstens <hca@linux.ibm.com>

    [ Upstream commit e5992f373c6eed6d09e5858e9623df1259b3ce30 ]

    Commit 32f6e5da83c7 ("selftests/ftrace: Add kprobe profile testcase")
    added a new kprobes testcase, but has a description which does not
    describe what the test case is doing and is duplicating the description
    of another test case.

    Therefore change the test case description, so it is unique and then
    allows easily to tell which test case actually passed or failed.

    Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com>
    Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
    Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    tools/testing/selftests/ftrace/test.d/kprobe/profile.tc | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc b/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
    index 98166fa3eb91c..34fb89b0c61fa 100644
    --- a/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
    +++ b/tools/testing/selftests/ftrace/test.d/kprobe/profile.tc
    @@ -1,6 +1,6 @@
    #!/bin/sh
    # SPDX-License-Identifier: GPL-2.0
    -# description: Kprobe dynamic event - adding and removing
    +# description: Kprobe profile
    # requires: kprobe_events

    ! grep -q 'myevent' kprobe_profile
    --
    2.34.1


    \
     
     \ /
      Last update: 2022-01-24 23:41    [W:2.744 / U:0.304 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site