1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 ifndef NO_DWARF 2 ifndef NO_DWARF 3 PERF_HAVE_DWARF_REGS := 1 3 PERF_HAVE_DWARF_REGS := 1 4 endif 4 endif 5 PERF_HAVE_JITDUMP := 1 << 6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 << 7 HAVE_KVM_STAT_SUPPORT := 1 << 8 5 9 # << 10 # Syscall table generation for perf 6 # Syscall table generation for perf 11 # !! 7 out := $(OUTPUT)arch/mips/include/generated/asm 12 !! 8 header := $(out)/syscalls_n64.c 13 out := $(OUTPUT)arch/arm64/include/generate !! 9 sysprf := $(srctree)/tools/perf/arch/mips/entry/syscalls 14 header := $(out)/syscalls.c !! 10 sysdef := $(sysprf)/syscall_n64.tbl 15 incpath := $(srctree)/tools << 16 sysdef := $(srctree)/tools/arch/arm64/include/ << 17 sysprf := $(srctree)/tools/perf/arch/arm64/ent << 18 systbl := $(sysprf)/mksyscalltbl 11 systbl := $(sysprf)/mksyscalltbl 19 12 20 # Create output directory if not already prese 13 # Create output directory if not already present 21 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 14 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 22 15 23 $(header): $(sysdef) $(systbl) 16 $(header): $(sysdef) $(systbl) 24 $(Q)$(SHELL) '$(systbl)' '$(CC)' '$(HO !! 17 $(Q)$(SHELL) '$(systbl)' $(sysdef) > $@ 25 18 26 clean:: 19 clean:: 27 $(call QUIET_CLEAN, arm64) $(RM) $(hea !! 20 $(call QUIET_CLEAN, mips) $(RM) $(header) 28 21 29 archheaders: $(header) 22 archheaders: $(header)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.