2 PERF_HAVE_DWARF_REGS
:= 1
4 HAVE_KVM_STAT_SUPPORT
:= 1
5 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
:= 1
9 # Syscall table generation
12 out
:= $(OUTPUT
)arch
/x86
/include/generated
/asm
13 header
:= $(out
)/syscalls_64.c
14 sys
:= $(srctree
)/tools
/perf
/arch
/x86
/entry
/syscalls
15 systbl
:= $(sys
)/syscalltbl.sh
17 # Create output directory if not already present
18 _dummy
:= $(shell [ -d
'$(out)' ] || mkdir
-p
'$(out)')
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' > $@
27 $(call QUIET_CLEAN
, x86
) $(RM
) $(header
)
29 archheaders
: $(header
)