1ifndef NO_DWARF 2PERF_HAVE_DWARF_REGS := 1 3endif 4HAVE_KVM_STAT_SUPPORT := 1 5PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 6PERF_HAVE_JITDUMP := 1 7 8### 9# Syscall table generation 10# 11 12out := $(OUTPUT)arch/x86/include/generated/asm 13header := $(out)/syscalls_64.c 14sys := $(srctree)/tools/perf/arch/x86/entry/syscalls 15systbl := $(sys)/syscalltbl.sh 16 17# Create output directory if not already present 18_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 19 20$(header): $(sys)/syscall_64.tbl $(systbl) 21 @(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \ 22 (diff -B arch/x86/entry/syscalls/syscall_64.tbl ../../arch/x86/entry/syscalls/syscall_64.tbl >/dev/null) \ 23 || echo "Warning: x86_64's syscall_64.tbl differs from kernel" >&2 )) || true 24 $(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@ 25 26clean:: 27 $(call QUIET_CLEAN, x86) $(RM) $(header) 28 29archheaders: $(header) 30