]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/livepatch: Make dynamic debug setup and restore generic
authorJoe Lawrence <joe.lawrence@redhat.com>
Wed, 16 Oct 2019 11:33:14 +0000 (13:33 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 4 Nov 2019 14:33:15 +0000 (09:33 -0500)
commit4a36ddb10a4a85bb61ba4b03cbf7d7e8d7fbe3ba
treec9eb9b10545f6b73aecbec17041ca49adf6a40d2
parentc96b7d89809e3d65ad69b641be766018f92e8645
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>
tools/testing/selftests/livepatch/functions.sh
tools/testing/selftests/livepatch/test-callbacks.sh
tools/testing/selftests/livepatch/test-livepatch.sh
tools/testing/selftests/livepatch/test-shadow-vars.sh