uml: Add support for CONFIG_STACKTRACE
PATCH 1/1 uml: Add support for CONFIG_STACKTRACE
Add stacktrace support for User Mode Linux
Signed-off-by Daniel Walter <[email protected]>
--- arch/um/Kconfig.common | 3 +- arch/um/include/asm/stacktrace.h | 42 +++++++++++++++++++++ arch/um/kernel/Makefile | 1 + arch/um/kernel/stacktrace.c | 80 ++++++++++++++++++++++++++++++++++++++++ arch/um/kernel/sysrq.c | 69 +++++++++------------------------- 5 files changed, 142 insertions(+), 53 deletions(-) create mode 100644 arch/um/include/asm/stacktrace.h create mode 100644 arch/um/kernel/stacktrace.c
arch/um/Kconfig.common +2 -1
@@ -39,7 +39,8 @@ config LOCKDEP_SUPPORT config STACKTRACE_SUPPORT bool - default n + default y + select STACKTRACE config GENERIC_CALIBRATE_DELAY bool
arch/um/include/asm/stacktrace.h new file +42 -0
42 lines not on this page · raw message
arch/um/kernel/Makefile +1 -0
@@ -19,6 +19,7 @@ obj-$(CONFIG_BLK_DEV_INITRD) += initrd.o obj-$(CONFIG_GPROF) += gprof_syms.o obj-$(CONFIG_GCOV) += gmon_syms.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o +obj-$(CONFIG_STACKTRACE) += stacktrace.o USER_OBJS := config.o
arch/um/kernel/stacktrace.c new file +80 -0
80 lines not on this page · raw message
arch/um/kernel/sysrq.c +17 -52
97 lines not on this page · raw message
Signature · 1 line
2.1.0.rc2.206.gedb03e5