mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Based on prior work: https://lkml.org/lkml/2014/5/6/395 and on how other arches add libdw unwind support. Includes support for running the unwind test, e.g., on a system with only elfutils' libdw 0.170, the test now runs, and successfully: $ ./perf test unwind 56: Test dwarf unwind : Ok Originally-by: Jean Pihet <[email protected]> Reported-by: Christian Hansen <[email protected]> Signed-off-by: Kim Phillips <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
11 lines
350 B
Python
11 lines
350 B
Python
libperf-y += header.o
|
|
libperf-y += sym-handling.o
|
|
libperf-$(CONFIG_DWARF) += dwarf-regs.o
|
|
libperf-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
|
|
libperf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
|
|
|
|
libperf-$(CONFIG_AUXTRACE) += ../../arm/util/pmu.o \
|
|
../../arm/util/auxtrace.o \
|
|
../../arm/util/cs-etm.o \
|
|
arm-spe.o
|