diff options
author | Joe Lawrence <joe.lawrence@redhat.com> | 2019-10-16 14:33:14 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2019-11-04 17:33:15 +0300 |
commit | 35c9e74cff4c798d0a07830d0d483e6ebe70352f (patch) | |
tree | c9eb9b10545f6b73aecbec17041ca49adf6a40d2 /tools/testing/selftests/livepatch/test-callbacks.sh | |
parent | 7162431dcf72032835d369c8d7b51311df407938 (diff) | |
download | linux-35c9e74cff4c798d0a07830d0d483e6ebe70352f.tar.xz |
selftests/livepatch: Make dynamic debug setup and restore generic
Livepatch selftests currently save the current dynamic debug config and
tweak it for the selftests. The config is restored at the end. Make the
infrastructure generic, so that more variables can be saved and
restored.
Link: http://lkml.kernel.org/r/20191016113316.13415-3-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/test-callbacks.sh')
-rwxr-xr-x | tools/testing/selftests/livepatch/test-callbacks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/livepatch/test-callbacks.sh b/tools/testing/selftests/livepatch/test-callbacks.sh index e97a9dcb73c7..a35289b13c9c 100755 --- a/tools/testing/selftests/livepatch/test-callbacks.sh +++ b/tools/testing/selftests/livepatch/test-callbacks.sh @@ -9,7 +9,7 @@ MOD_LIVEPATCH2=test_klp_callbacks_demo2 MOD_TARGET=test_klp_callbacks_mod MOD_TARGET_BUSY=test_klp_callbacks_busy -set_dynamic_debug +setup_config # TEST: target module before livepatch |