[Bug 1286895] Re: please support systemtap traces in openjdk

Matthias Klose doko at ubuntu.com
Mon Sep 8 11:44:46 UTC 2014


I would like to avoid adding this new feature for the openjdk-7 builds
for released Ubuntu versions. I don't know the impact, and I honestly
don't have the time to investigate the impacts.

I'll enable that for the openjdk-7 package in 14.10 (utopic) has this
enabled, so would it be possible to test on this release?

I any way, the patch is wrong, and is overwritten when you build the
package. You need to define with_systemtap in the debian/rules file,
regenerate the control file and then build the package.


** Changed in: openjdk-7 (Ubuntu)
       Status: In Progress => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1286895

Title:
  please support systemtap traces in openjdk

Status in “openjdk-7” package in Ubuntu:
  Incomplete

Bug description:
  [SRU justification]

  [Impact]

  I'd like, not only to trace the java process, but use the new support
  for openjdk tracing in systemtap, both the hotspot tracing and the
  method tracing.

  Accordingly i installed the ddebs.ubuntu.com[1] repository to install
  the kernel debuging symbols - i can then call a stap script that uses
  kernel tapsets but not yet java ones. I did notice a package called
  openjdk-7-jdk-dbgsym and tried to install it to see if this had the
  systemtap tapsets for the openjdk, but this conflicts with the
  openjdk-7-dbg package (which then ubuntu doesn't let me bug report
  since the openjdk-7-jdk-dbgsym package is not from the 'official'
  servers). And if i uninstall that one and install the other it doesn't
  help anyway.

  If the steps i followed to try to get systemtap java method tracing in
  ubuntu were incorrect and this can be done with packages from your
  reporsitories, feel free to close.

  [1] https://sourceware.org/systemtap/wiki/SystemtapOnUbuntu

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: openjdk-7-dbg (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-14.34-generic 3.13.5
  Uname: Linux 3.13.0-14-generic x86_64
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Mar  2 20:37:05 2014
  InstallationDate: Installed on 2014-01-17 (44 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 "Trusty Tahr" - Alpha amd64 (20140117)
  SourcePackage: openjdk-7
  UpgradeStatus: No upgrade log present (probably fresh install)

  [Test Case]

  sudo apt-get install openjdk-7-dbg binutils

  readelf -n /usr/lib/debug/usr/lib/jvm/java-7-openjdk-
  amd64/jre/lib/amd64/server/libjvm.so

  no systemtap symbol in it

  
  [Regression Potential]

  [Other Info]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1286895/+subscriptions



More information about the Ubuntu-sponsors mailing list