← Back to team overview

openjdk team mailing list archive

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

 

** Patch added: "lp1286895-trusty.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1286895/+attachment/4164674/+files/lp1286895-trusty.debdiff

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1286895

Title:
  please support systemtap traces in openjdk

Status in “openjdk-7” package in Ubuntu:
  In Progress

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


References