diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-05-23 08:05:50 +0200 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-06-07 18:07:22 +0200 |
commit | c3ca46ef719580eb01994fc6032db470fde92d85 (patch) | |
tree | 67a07c2424c5d92894100fafd8413c357edd4cdc /tools | |
parent | selftests/ftrace: Reduce trace buffer checking overhead (diff) | |
download | linux-c3ca46ef719580eb01994fc6032db470fde92d85.tar.xz linux-c3ca46ef719580eb01994fc6032db470fde92d85.zip |
ftrace/kprobes: selftests: Check kretprobe maxactive is supported
Check the kretprobe maxactive is supported by kprobe_events
interface. To ensure the kernel feature, this changes ftrace
README to describe it.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_maxactive.tc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_maxactive.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_maxactive.tc index 57abdf1caabf..7ec6f2639ad6 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_maxactive.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_maxactive.tc @@ -2,6 +2,7 @@ # description: Kretprobe dynamic event with maxactive [ -f kprobe_events ] || exit_unsupported # this is configurable +grep -q 'r\[maxactive\]' README || exit_unsupported # this is older version echo > kprobe_events |