summaryrefslogtreecommitdiff
path: root/tools/lib/api
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2016-02-16 07:37:41 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-02-16 17:12:46 -0300
commitd646ae0a73deb0d80792a6a9c0757317ad8049c5 (patch)
tree554e5903258c1ad7045fa29da41be141b6ad95e7 /tools/lib/api
parentfe7a2eaa71c55aadbf95d01d32df8dccc0db0646 (diff)
downloadlinux-rpi-d646ae0a73deb0d80792a6a9c0757317ad8049c5.tar.gz
linux-rpi-d646ae0a73deb0d80792a6a9c0757317ad8049c5.tar.bz2
linux-rpi-d646ae0a73deb0d80792a6a9c0757317ad8049c5.zip
perf jvmti: Add check for java alternatives cmd in Makefile
This patch modifies the jvmti makefile to check if the /usr/sbin/java-update-alternatives utility is present. If so, then use it, if not then use the altenatives command. This helps handle the difference between Ubuntu and Fedora Linux distributions. Signed-off-by: Stephane Eranian <eranian@google.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.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/1455604661-9357-1-git-send-email-eranian@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api')
0 files changed, 0 insertions, 0 deletions