summaryrefslogtreecommitdiff
path: root/tools/perf/jvmti/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-10-17 17:49:16 +0300
committerIngo Molnar <mingo@kernel.org>2016-10-17 17:49:16 +0300
commit0130669966bf337b616d559d5405614c0a4ae313 (patch)
tree1535c76205503fe173b1801f7006ca3af38c739d /tools/perf/jvmti/Makefile
parent5c38181ce9c5182377e79271a3ed0a2d0e999c33 (diff)
parent53613e005496234bb684e5db551fbcededa73999 (diff)
downloadlinux-0130669966bf337b616d559d5405614c0a4ae313.tar.xz
Merge tag 'perf-urgent-for-mingo-20161017' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo: - Fix handling of NUMA nodes in perf.data files (Jiri Olsa) - Fix scrolling when refreshing 'perf top --tui --hierarchy' entries (Namhyung Kim) - Fix building of JIT support on Ubuntu 16.04 (Anton Blanchard) - Fix handling of events including .c and .o, that were being treated as BPF scripts instead of vendor ones (Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/jvmti/Makefile')
-rw-r--r--tools/perf/jvmti/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/jvmti/Makefile b/tools/perf/jvmti/Makefile
index 5ce61a1bda9c..df14e6b67b63 100644
--- a/tools/perf/jvmti/Makefile
+++ b/tools/perf/jvmti/Makefile
@@ -36,7 +36,7 @@ SOLIBEXT=so
# The following works at least on fedora 23, you may need the next
# line for other distros.
ifneq (,$(wildcard /usr/sbin/update-java-alternatives))
-JDIR=$(shell /usr/sbin/update-java-alternatives -l | head -1 | cut -d ' ' -f 3)
+JDIR=$(shell /usr/sbin/update-java-alternatives -l | head -1 | awk '{print $$3}')
else
ifneq (,$(wildcard /usr/sbin/alternatives))
JDIR=$(shell alternatives --display java | tail -1 | cut -d' ' -f 5 | sed 's%/jre/bin/java.%%g')