2 PERF_HAVE_DWARF_REGS := 1
4 HAVE_KVM_STAT_SUPPORT := 1
5 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
8 # Syscall table generation for perf
11 out := $(OUTPUT)arch/s390/include/generated/asm
12 header := $(out)/syscalls_64.c
13 syskrn := $(srctree)/arch/s390/kernel/syscalls/syscall.tbl
14 sysprf := $(srctree)/tools/perf/arch/s390/entry/syscalls
15 sysdef := $(sysprf)/syscall.tbl
16 systbl := $(sysprf)/mksyscalltbl
18 # Create output directory if not already present
19 _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
21 $(header): $(sysdef) $(systbl)
22 @(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \
23 (diff -B $(sysdef) $(syskrn) >/dev/null) \
24 || echo "Warning: Kernel ABI header at '$(sysdef)' differs from latest version at '$(syskrn)'" >&2 )) || true
25 $(Q)$(SHELL) '$(systbl)' $(sysdef) > $@
28 $(call QUIET_CLEAN, s390) $(RM) $(header)
30 archheaders: $(header)