APPLIED(B,C,D): [SRU v2 B/C/D/U 0/1] build and install libperf-jvmti.so
Khaled Elmously
khalid.elmously at canonical.com
Thu May 30 20:36:06 UTC 2019
On 2019-05-21 10:52:01 , Thadeu Lima de Souza Cascardo wrote:
> BugLink: https://bugs.launchpad.net/bugs/1761379
>
> Note that this introduces new build dependencies, and some builders might not
> have them installed. This may cause test builds to fail, but that's because
> some build scripts don't check for build dependencies. Please, make sure these
> new build dependencies are installed when build testing.
>
> Note that this has also been tested on derivatives. The same patch has been
> applied, as if a rebase has been done, and it was verified that the build has
> not failed. We may not want this new library on some derivatives, so the patch
> has been written in a way that derivatives will need to opt-in. On the other
> hand, they will not fail to build after a rebase that includes this patch.
>
> [Impact]
> File libperf-jvmti.so is missing in linux-tools-common deb making it
> impossible to use perf for the JVM JITed methods.
>
> [Test case]
> $ sudo perf record -k 1 -e instructions:u ./java -agentpath:/usr/lib/linux-tools-5.0.0-8/libperf-jvmti.so crc32
> $ sudo perf inject -i ./perf.data -j -o ./perf.data.jitted
> $ sudo perf report -f -i ./perf.data.jitted
>
> [Fix]
> Include java build dependencies and install the library into linux-tools
> package.
>
> [Regression potential]
> Small regression potential, an extra file is distributed and is not
> automatically linked to anything. It could impact the build, which was
> tested.
>
> Thadeu Lima de Souza Cascardo (1):
> UBUNTU: [Packaging] Support building libperf-jvmti.so
>
> debian.master/control.stub.in | 2 ++
> debian.master/rules.d/amd64.mk | 1 +
> debian.master/rules.d/arm64.mk | 1 +
> debian.master/rules.d/armhf.mk | 1 +
> debian.master/rules.d/i386.mk | 1 +
> debian.master/rules.d/ppc64el.mk | 1 +
> debian.master/rules.d/s390x.mk | 1 +
> debian/rules | 1 +
> debian/rules.d/2-binary-arch.mk | 6 ++++++
> 9 files changed, 15 insertions(+)
>
> --
> 2.20.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list