1 # SPDX-License-Identifier: GPL-2.0
3 PERF_HAVE_DWARF_REGS
:= 1
6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET
:= 1
7 HAVE_KVM_STAT_SUPPORT
:= 1
10 # Syscall table generation for perf
13 out
:= $(OUTPUT
)arch
/arm64
/include/generated
/asm
14 header
:= $(out
)/syscalls.c
15 incpath
:= $(srctree
)/tools
16 sysdef
:= $(srctree
)/tools
/arch
/arm64
/include/uapi
/asm
/unistd.h
17 sysprf
:= $(srctree
)/tools
/perf
/arch
/arm64
/entry
/syscalls
/
18 systbl
:= $(sysprf
)/mksyscalltbl
20 # Create output directory if not already present
21 _dummy
:= $(shell [ -d
'$(out)' ] || mkdir
-p
'$(out)')
23 $(header
): $(sysdef
) $(systbl
)
24 $(Q
)$(SHELL
) '$(systbl)' '$(CC)' '$(HOSTCC)' $(incpath
) $(sysdef
) > $@
27 $(call QUIET_CLEAN
, arm64
) $(RM
) $(header
)
29 archheaders
: $(header
)