mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
Porting PPC to libdw only needs an architecture-specific hook to move the register state from perf to libdw. The ARM and x86 architectures already use libdw, and it is useful to have as much common code for the unwinder as possible. Mark Wielaard has contributed a frame-based unwinder to libdw, so that unwinding works even for binaries that do not have CFI information. In addition, libunwind is always preferred to libdw by the build machinery so this cannot introduce regressions on machines that have both libunwind and libdw installed. Signed-off-by: Paolo Bonzini <[email protected]> Acked-by: Jiri Olsa <[email protected]> Acked-by: Milian Wolff <[email protected]> Acked-by: Ravi Bangoria <[email protected]> Cc: Naveen N. Rao <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
11 lines
294 B
Python
11 lines
294 B
Python
libperf-y += header.o
|
|
libperf-y += sym-handling.o
|
|
libperf-y += kvm-stat.o
|
|
libperf-y += perf_regs.o
|
|
|
|
libperf-$(CONFIG_DWARF) += dwarf-regs.o
|
|
libperf-$(CONFIG_DWARF) += skip-callchain-idx.o
|
|
|
|
libperf-$(CONFIG_LIBUNWIND) += unwind-libunwind.o
|
|
libperf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
|