Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf jvmti: Include JVMTI support for s390

Enable JVMTI support for s390 perf tool chain.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Hendrik Brueckner <brueckner@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Link: http://lore.kernel.org/lkml/20190909114116.50469-3-tmricht@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Thomas Richter and committed by
Arnaldo Carvalho de Melo
61bf4ee2 28b95176

+4
+1
tools/perf/arch/s390/Makefile
··· 4 4 endif 5 5 HAVE_KVM_STAT_SUPPORT := 1 6 6 PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1 7 + PERF_HAVE_JITDUMP := 1 7 8 8 9 # 9 10 # Syscall table generation for perf
+3
tools/perf/util/genelf.h
··· 35 35 #elif defined(__sparc__) 36 36 #define GEN_ELF_ARCH EM_SPARC 37 37 #define GEN_ELF_CLASS ELFCLASS32 38 + #elif defined(__s390x__) 39 + #define GEN_ELF_ARCH EM_S390 40 + #define GEN_ELF_CLASS ELFCLASS64 38 41 #else 39 42 #error "unsupported architecture" 40 43 #endif