mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Joe Lawrence](/assets/img/avatar_default.png)
Add a few livepatch modules and simple target modules that the included regression suite can run tests against: - basic livepatching (multiple patches, atomic replace) - pre/post (un)patch callbacks - shadow variable API Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Tested-by: Miroslav Benes <mbenes@suse.cz> Tested-by: Alice Ferrazzi <alice.ferrazzi@gmail.com> Acked-by: Joe Lawrence <joe.lawrence@redhat.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
15 lines
486 B
Makefile
15 lines
486 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for livepatch test code.
|
|
|
|
obj-$(CONFIG_TEST_LIVEPATCH) += test_klp_atomic_replace.o \
|
|
test_klp_callbacks_demo.o \
|
|
test_klp_callbacks_demo2.o \
|
|
test_klp_callbacks_busy.o \
|
|
test_klp_callbacks_mod.o \
|
|
test_klp_livepatch.o \
|
|
test_klp_shadow_vars.o
|
|
|
|
# Target modules to be livepatched require CC_FLAGS_FTRACE
|
|
CFLAGS_test_klp_callbacks_busy.o += $(CC_FLAGS_FTRACE)
|
|
CFLAGS_test_klp_callbacks_mod.o += $(CC_FLAGS_FTRACE)
|