Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84c06566 authored by Thomas Meyer's avatar Thomas Meyer Committed by Shuah Khan
Browse files

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: default avatarThomas Meyer <thomas@m3y3r.de>
Acked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 56a268cd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#!/bin/sh
# description: Register/unregister many kprobe events

[ -f kprobe_events ] || exit_unsupported # this is configurable

# ftrace fentry skip size depends on the machine architecture.
# Currently HAVE_KPROBES_ON_FTRACE defined on x86 and powerpc64le
case `uname -m` in