OSDN Git Service

perf jvmti: improve error message in Makefile
authorStephane Eranian <eranian@google.com>
Thu, 25 Feb 2016 05:27:36 +0000 (06:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 25 Feb 2016 13:43:28 +0000 (10:43 -0300)
commit7e9551bc72201838ebaf388224ff43ddf2b0d853
treef077bf87110ae742214ce189279c34f42d27cce5
parent5104ffb229c357d9672344126040721e5dc4cc7b
perf jvmti: improve error message in Makefile

This patch improves the error message given by jvmti Makefile when the
alternatives command cannot be found. It now suggests the user locates
the root of their Java installation and pass it with JDIR=

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1456378056-18812-1-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/jvmti/Makefile