diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-05-23 15:06:53 +0900 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-06-07 10:59:51 -0600 |
commit | d7b91c0b1c7f40241d8d47f0a2a0d616a1127635 (patch) | |
tree | 73568899cc6d314793f77fd018f32d136d6be051 /tools/testing/selftests/ftrace/ftracetest | |
parent | ftrace/kprobes: selftests: Check kretprobe maxactive is supported (diff) | |
download | wireguard-linux-d7b91c0b1c7f40241d8d47f0a2a0d616a1127635.tar.xz wireguard-linux-d7b91c0b1c7f40241d8d47f0a2a0d616a1127635.zip |
selftests/ftrace: Reset ftrace filter on older kernel
Since older kernel didn't support separated instance of
set_ftrace_filter, if the test case set the filter in
an instance, it will propagate to top-level instance.
This means that the filter setting remains even if we
remove the instance, and will cause other tests failure.
To avoid this issue, reset the ftrace filter if we
detect the propagation.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/ftrace/ftracetest')
0 files changed, 0 insertions, 0 deletions