Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable USDT probes for eBPF tracing on Linux #1173

Open
cmbntr opened this issue Jul 16, 2019 · 2 comments
Open

Enable USDT probes for eBPF tracing on Linux #1173

cmbntr opened this issue Jul 16, 2019 · 2 comments
Labels
enhancement Issues that enhance the code or documentation of the repo in any way
Milestone

Comments

@cmbntr
Copy link

cmbntr commented Jul 16, 2019

Please enable (or provide a build variant) with enabled USDT probes.

These probes can be used with the eBPF tracing on Linux:
http://www.brendangregg.com/blog/2019-01-01/learn-ebpf-tracing.html
https://github.com/iovisor/bcc
https://github.com/iovisor/bpftrace

"Profiling JVM Applications in Production"

The Redhat OpenJDK builds already have them enabled.

$ cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)

$ /usr/lib/jvm/java-1.8.0-openjdk/bin/java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

$ tplist -l /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/amd64/server/libjvm.so | grep hotspot | wc -l
515

$ adoptopenjdk/jdk8/bin/java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b04, mixed mode)

$ tplist -l adoptopenjdk/jdk/jre/lib/amd64/server/libjvm.so | grep hotspot | wc -l
0
@karianna karianna added the enhancement Issues that enhance the code or documentation of the repo in any way label Jul 16, 2019
@karianna karianna added this to the Backlog milestone Jul 16, 2019
@yzhao1012
Copy link

Could there be some update on the progress? We'd like USDT to be built-in to enable eBPF probing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues that enhance the code or documentation of the repo in any way
Projects
Status: Todo
Development

No branches or pull requests

4 participants