aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/livepatch/test-ftrace.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-11-04selftests/livepatch: Test interaction with ftrace_enabledJoe Lawrence1-0/+65
Since livepatching depends upon ftrace handlers to implement "patched" code functionality, verify that the ftrace_enabled sysctl value interacts with livepatch registration as expected. At the same time, ensure that ftrace_enabled is set and part of the test environment configuration that is saved and restored when running the selftests. Link: http://lkml.kernel.org/r/20191016113316.13415-4-mbenes@suse.cz Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>