Re: [PATCH] perf/jvmti: add check for java alternatives cmd in Makefile

2016-02-16 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 16, 2016 at 11:36:48PM +0900, Namhyung Kim escreveu: > Hi Arnaldo and Stephane, > > On Tue, Feb 16, 2016 at 12:31:26PM -0200, Arnaldo Carvalho de Melo wrote: > > Em Tue, Feb 16, 2016 at 07:37:41AM +0100, Stephane Eranian escreveu: > > > This patch modifies the jvmti makefile to check >

Re: [PATCH] perf/jvmti: add check for java alternatives cmd in Makefile

2016-02-16 Thread Namhyung Kim
Hi Arnaldo and Stephane, On Tue, Feb 16, 2016 at 12:31:26PM -0200, Arnaldo Carvalho de Melo wrote: > Em Tue, Feb 16, 2016 at 07:37:41AM +0100, Stephane Eranian escreveu: > > This patch modifies the jvmti makefile to check > > if /usr/sbin/java-update-alternatives is present. > > If so, then use it

Re: [PATCH] perf/jvmti: add check for java alternatives cmd in Makefile

2016-02-16 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 16, 2016 at 07:37:41AM +0100, Stephane Eranian escreveu: > This patch modifies the jvmti makefile to check > if /usr/sbin/java-update-alternatives is present. > If so, then use it, if not then use the altenatives > command. This helps handle the difference between > Ubuntu and Fedora Li

[PATCH] perf/jvmti: add check for java alternatives cmd in Makefile

2016-02-15 Thread Stephane Eranian
This patch modifies the jvmti makefile to check if /usr/sbin/java-update-alternatives 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 --- tools/perf/jvmti/Make