please support systemtap traces in openjdk
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-
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:/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openjdk-7-dbg (not installed)
ProcVersionSign
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/
no systemtap symbol in it
[Regression Potential]
[Other Info]
Changed in openjdk-7 (Ubuntu): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
status: | New → In Progress |
Changed in openjdk-7 (Ubuntu): | |
assignee: | Seyeong Kim (xtrusia) → nobody |
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.