Re: [PATCH 4/4] perf tools: add JVMTI agent library

From: Stephane Eranian
Date: Thu Feb 12 2015 - 11:09:59 EST


On Thu, Feb 12, 2015 at 8:25 AM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> On Wed, Feb 11, 2015 at 12:42:45AM +0100, Stephane Eranian wrote:
>
> SNIP
>
>> +LN=ln -sf
>> +RM=rm
>> +
>> +SJVMTI=libjvmti.so.$(VERSION).$(REVISION).$(AGE)
>> +VJVMTI=libjvmti.so.$(VERSION)
>> +SLDFLAGS=-shared -Wl,-soname -Wl,$(VLIBPFM)
>> +SOLIBEXT=so
>> +
>> +JDIR=$(shell /usr/sbin/update-java-alternatives -l | head -1 | cut -d ' ' -f 3)
>
> I had to se JDIR manualy..
>
> is there some generic way to get above dir? It does not
> work on Fedora, 'yum provides' did not find any package
> carrying update-java-alternatives binary..
>
This one comes from the java-common package on Ubuntu.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/