[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT PATCH] lib/ukdebug: Include tracepoint linker script when tracing is enabled
This fixes the issue that the tracepoint section was not added to the image when vfscore wasn't included to the build. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- lib/ukdebug/Makefile.uk | 2 +- lib/ukdebug/{extra.ld => trace.ld} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/ukdebug/{extra.ld => trace.ld} (100%) diff --git a/lib/ukdebug/Makefile.uk b/lib/ukdebug/Makefile.uk index f06eeb87..dc10e405 100644 --- a/lib/ukdebug/Makefile.uk +++ b/lib/ukdebug/Makefile.uk @@ -12,6 +12,6 @@ LIBUKDEBUG_SRCS-y += $(LIBUKDEBUG_BASE)/outf.c LIBUKDEBUG_SRCS-y += $(LIBUKDEBUG_BASE)/hexdump.c LIBUKDEBUG_SRCS-$(CONFIG_LIBZYDIS) += $(LIBUKDEBUG_BASE)/asmdump.c LIBUKDEBUG_SRCS-$(CONFIG_LIBUKDEBUG_TRACEPOINTS) += $(LIBUKDEBUG_BASE)/trace.c -LIBUKDEBUG_SRCS-$(CONFIG_LIBVFSCORE) += $(LIBUKDEBUG_BASE)/extra.ld +LIBUKDEBUG_SRCS-$(CONFIG_LIBUKDEBUG_TRACEPOINTS) += $(LIBUKDEBUG_BASE)/trace.ld STRIP_SECTIONS_FLAGS-$(CONFIG_LIBUKDEBUG_TRACEPOINTS) += -R .uk_tracepoints_list -R .uk_trace_keyvals diff --git a/lib/ukdebug/extra.ld b/lib/ukdebug/trace.ld similarity index 100% rename from lib/ukdebug/extra.ld rename to lib/ukdebug/trace.ld -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |