diff options
| author | Joe Lawrence <joe.lawrence@redhat.com> | 2019-10-16 13:33:15 +0200 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2019-11-04 09:33:16 -0500 |
| commit | 8c666d2ab5762280cb5ef43df4decb2a25450d54 (patch) | |
| tree | 0581d741b853bd61bdb0a7b53ca92bda9c32b47f /tools/testing/selftests/livepatch/Makefile | |
| parent | 35c9e74cff4c798d0a07830d0d483e6ebe70352f (diff) | |
| download | linux-8c666d2ab5762280cb5ef43df4decb2a25450d54.tar.bz2 | |
selftests/livepatch: Test interaction with ftrace_enabled
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>
Diffstat (limited to 'tools/testing/selftests/livepatch/Makefile')
| -rw-r--r-- | tools/testing/selftests/livepatch/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/livepatch/Makefile b/tools/testing/selftests/livepatch/Makefile index fd405402c3ff..1886d9d94b88 100644 --- a/tools/testing/selftests/livepatch/Makefile +++ b/tools/testing/selftests/livepatch/Makefile @@ -4,6 +4,7 @@ TEST_PROGS_EXTENDED := functions.sh TEST_PROGS := \ test-livepatch.sh \ test-callbacks.sh \ - test-shadow-vars.sh + test-shadow-vars.sh \ + test-ftrace.sh include ../lib.mk |