Skip to contentSkip to conversation

perf jvmti: Give hints about package names needed to build

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Apr 16, 2018 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  e14b733c5dc62f574b4dbc045b2cc52b03d83d4c
Gitweb:     https://git.kernel.org/tip/e14b733c5dc62f574b4dbc045b2cc52b03d83d4c
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Wed, 11 Apr 2018 12:08:53 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 12 Apr 2018 10:33:17 -0300

perf jvmti: Give hints about package names needed to build

Give as examples of package names to install to have this built for fedora and debian, to help the user a bit.

The part from 'e.g.:' onwards:

No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel

---
 tools/perf/Makefile.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Makefile.config +1 -1
index c7abd83a8e19..6b307e97dc57 100644
@@ -847,7 +847,7 @@ ifndef NO_JVMTI
   ifeq ($(feature-jvmti), 1)
     $(call detected_var,JDIR)
   else
-    $(warning No openjdk development package found, please install JDK package)
+    $(warning No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel)
     NO_JVMTI := 1
   endif
 endif