mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
a2818ee4dc
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>
16 lines
486 B
Makefile
16 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)
|