java profiling not resolving user space symbols #516
Replies: 1 comment 1 reply
-
We’ve improved the eBPF-based profiler for Java applications. To take full advantage of it, make sure the JVM is started with the -XX:+PreserveFramePointer option: https://docs.coroot.com/profiling/ebpf-based-profiling#java |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Trying to integrate java profiling in coroot. I dont see it available yet so started the POC.
Running a java prog (opening and closing file in a loop), perf_event tool and ubuntu bcc (bpfcc) in a same container. Java symbols are generated using perf_event tool and placed at
/tmp/perf-${PID}.map
file. Now using command/sbin/profile-bpfcc -adf -p $PID 30
while trying to generate the profile data, we can see the kernel space symbols are coming in profile file but all user space symbols are missingb'__x64_sys_write_[k]' b'do_syscall_64_[k]' b'entry_SYSCALL_64_after_hwframe_[k]' -- [unknown] [unknown] [unknown]
Used different options in the
profile-bpfcc
command but no luck. Can anybody please help.Beta Was this translation helpful? Give feedback.
All reactions