[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH RFC 0/5] Support dumping backtrace in Unikraft
This patch series is to enhance the debuggability of Unikraft. It adds a kallsym tool from linux kernel in unikraft build system. kallsym will check and translate all the mapping between symbol name and its address. Then in the 2nd linking, the generated symbol.S will be compiled and linked into new Unikraft image. To avoid the relocation symbol in 2nd linking, 3rd linking is used. Whenever anyware in Unikraft want to dump its backtrace at that time, this patch series provide a help uk_dump_backtrace to implement it. Tested on arm64 kvm plat only. But I believe x86 can also use this. Jia He (5): build: Add build tool to translate symbol to assembly codes plat/common: Introduce read_allsymbol build: Link image for 3 times if backtrace is needed build: Add the config option DEBUG_BACK_TRACE plat/common/arm: Add uk_dump_backtrace after trapping into exception Config.uk | 6 + Makefile | 1 + plat/common/arm/traps.c | 3 + plat/common/include/read_allsymbol.h | 70 +++ plat/common/read_allsymbol.c | 332 ++++++++++++ plat/kvm/Linker.uk | 71 ++- plat/kvm/Makefile.uk | 8 + support/kallsyms/kallsyms.c | 773 +++++++++++++++++++++++++++ 8 files changed, 1263 insertions(+), 1 deletion(-) create mode 100644 plat/common/include/read_allsymbol.h create mode 100644 plat/common/read_allsymbol.c create mode 100644 support/kallsyms/kallsyms.c -- 2.17.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |