please support systemtap traces in openjdk

Bug #1286895 reported by i30817
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-7 (Ubuntu)
Expired
Undecided
Unassigned

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]

Revision history for this message
i30817 (i30817) wrote :
Seyeong Kim (seyeongkim)
Changed in openjdk-7 (Ubuntu):
assignee: nobody → Seyeong Kim (xtrusia)
status: New → In Progress
Revision history for this message
Seyeong Kim (seyeongkim) wrote :
description: updated
Revision history for this message
Seyeong Kim (seyeongkim) wrote :
Revision history for this message
Seyeong Kim (seyeongkim) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

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
Revision history for this message
Iain Lane (laney) wrote :

Unsubscribing sponsors since doko will handle for U, please re-subscribe if you wish to have some stable update diffs sponsored.

Seyeong Kim (seyeongkim)
Changed in openjdk-7 (Ubuntu):
assignee: Seyeong Kim (xtrusia) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openjdk-7 (Ubuntu) because there has been no activity for 60 days.]

Changed in openjdk-7 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.