[SRU disco 0/1] build and install libperf-jvmti.so

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Thu Apr 11 13:48:41 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1761379

[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/rules.d/2-binary-arch.mk | 2 ++
 2 files changed, 4 insertions(+)

-- 
2.20.1




More information about the kernel-team mailing list