1 # SPDX-License-Identifier: GPL-2.0-only !! 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 HAVE_KVM_STAT_SUPPORT := 1 << 6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 << 7 PERF_HAVE_JITDUMP := 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/s390/include/generated !! 9 sysprf := $(srctree)/tools/perf/arch/mips/entry/syscalls 14 header := $(out)/syscalls_64.c !! 10 sysdef := $(sysprf)/syscall_n64.tbl 15 sysprf := $(srctree)/tools/perf/arch/s390/entr << 16 sysdef := $(sysprf)/syscall.tbl << 17 systbl := $(sysprf)/mksyscalltbl 11 systbl := $(sysprf)/mksyscalltbl 18 12 19 # Create output directory if not already prese 13 # Create output directory if not already present 20 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 14 $(shell [ -d '$(out)' ] || mkdir -p '$(out)') 21 15 22 $(header): $(sysdef) $(systbl) 16 $(header): $(sysdef) $(systbl) 23 $(Q)$(SHELL) '$(systbl)' $(sysdef) > $ 17 $(Q)$(SHELL) '$(systbl)' $(sysdef) > $@ 24 18 25 clean:: 19 clean:: 26 $(call QUIET_CLEAN, s390) $(RM) $(head !! 20 $(call QUIET_CLEAN, mips) $(RM) $(header) 27 21 28 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.