mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
Adding libdw DWARF post unwind support, which is part of elfutils-devel/libdw-dev package from version 0.158. The new code is contained in unwin-libdw.c object, and implements unwind__get_entries unwind interface function. Signed-off-by: Jean Pihet <[email protected]> Reviewed-by: Will Deacon <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Corey Ashford <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
15 lines
409 B
Makefile
15 lines
409 B
Makefile
ifndef NO_DWARF
|
|
PERF_HAVE_DWARF_REGS := 1
|
|
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
|
|
endif
|
|
ifndef NO_LIBUNWIND
|
|
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libunwind.o
|
|
endif
|
|
ifndef NO_LIBDW_DWARF_UNWIND
|
|
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libdw.o
|
|
endif
|
|
ifndef NO_DWARF_UNWIND
|
|
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/regs_load.o
|
|
LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/dwarf-unwind.o
|
|
endif
|