]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: ftrace: Add check for function-fork before running pid filter test
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 18 Apr 2017 16:32:21 +0000 (12:32 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 18 Apr 2017 16:46:11 +0000 (12:46 -0400)
commitd696ef2226e240fe613a1c7dd65cb535e568689b
treea4e464cae11cfdae058461768145de08321cdac7
parentd3439dc307e310d466faa4d63827234645f7faae
selftests: ftrace: Add check for function-fork before running pid filter test

Have the func-filter-pid test check for the function-fork option before
testing it. It can still test the pid filtering, but will stop before
testing the function-fork option for children inheriting the pids.
This allows the test to be added before the function-fork feature, but after
a bug fix that triggers one of the bugs the test can cause.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc