]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests/ftrace: Fix to test kprobe $comm arg only if available
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 30 Aug 2018 14:16:13 +0000 (23:16 +0900)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 24 Oct 2018 20:49:35 +0000 (14:49 -0600)
commit2452c96e617a0ff6fb2692e55217a3fa57a7322c
tree236470176a5f0546f4584524dba27cd3ebc9e565
parente527c47081c7e2795ffc3201809de9545cc25830
selftests/ftrace: Fix to test kprobe $comm arg only if available

Test $comm in kprobe-event argument syntax testcase
only if it is supported on the kernel because
$comm has been introduced 4.8 kernel.
So on older stable kernel, it should be skipped.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc