]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/ftrace: multiple_kprobes: Also check for support
authorThomas Meyer <thomas@m3y3r.de>
Fri, 8 Sep 2017 12:01:17 +0000 (14:01 +0200)
committerShuah Khan <shuahkh@osg.samsung.com>
Mon, 18 Sep 2017 16:55:55 +0000 (10:55 -0600)
commitf463da27b8d30605840fd162a713adee0ce5e3fa
treeb6db95b7480d76a5df791b710ec8de6400ade7d4
parent57a3859c12f0f6aa86fa3913a177cb5d38c1010f
selftests/ftrace: multiple_kprobes: Also check for support

The multiple_kprobes test case fails to check for KPROBE_EVENT support.
Add the check to prevent a false test result.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/ftrace/test.d/kprobe/multiple_kprobes.tc