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)
commit84c06566cfb84e5f6aed9582d4570df8406700c9
treeb6db95b7480d76a5df791b710ec8de6400ade7d4
parent56a268cd4a410081d477913d51e044039d3a8834
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