mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 02:54:05 +00:00
regs_query_register_offset() in dwarf-regs.c is required by BPF prologue. This patch compiles it if CONFIG_BPF_PROLOGUE is on to avoid build failure when CONFIG_BPF_PROLOGUE is on but CONFIG_DWARF is not set. Signed-off-by: He Kuang <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: He Kuang <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Wang Nan <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
16 lines
437 B
Python
16 lines
437 B
Python
libperf-y += header.o
|
|
libperf-y += tsc.o
|
|
libperf-y += pmu.o
|
|
libperf-y += kvm-stat.o
|
|
libperf-y += perf_regs.o
|
|
|
|
libperf-$(CONFIG_DWARF) += dwarf-regs.o
|
|
libperf-$(CONFIG_BPF_PROLOGUE) += dwarf-regs.o
|
|
|
|
libperf-$(CONFIG_LIBUNWIND) += unwind-libunwind.o
|
|
libperf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
|
|
|
|
libperf-$(CONFIG_AUXTRACE) += auxtrace.o
|
|
libperf-$(CONFIG_AUXTRACE) += intel-pt.o
|
|
libperf-$(CONFIG_AUXTRACE) += intel-bts.o
|