diff options
| author | Stephane Eranian <[email protected]> | 2016-02-16 07:37:41 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-16 17:12:46 -0300 |
| commit | d646ae0a73deb0d80792a6a9c0757317ad8049c5 (patch) | |
| tree | 554e5903258c1ad7045fa29da41be141b6ad95e7 /tools/perf/scripts/python | |
| parent | fe7a2eaa71c55aadbf95d01d32df8dccc0db0646 (diff) | |
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 <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions