Searched hist:d7b91c0b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/ftrace/test.d/instances/ |
H A D | instance-event.tc | d7b91c0b Tue May 23 01:06:53 CDT 2017 Masami Hiramatsu <mhiramat@kernel.org> 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> d7b91c0b Tue May 23 01:06:53 CDT 2017 Masami Hiramatsu <mhiramat@kernel.org> 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>
|