-
Notifications
You must be signed in to change notification settings - Fork 816
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
[ERROR] Could not set pthread hook #838
Comments
What are OS, JDK and Profiler versions? |
|
Does container run Alpine Linux? Which version? Please try the newest early access version from
|
Thanks https://profiler.tools/builds/async-profiler-3.0-ea-linux-x64.tar.gz worked for me.
I have used these commands also but getting the same warning again & again. So what impact does it have and how to get rid of it? |
@Apeksh742 "Kernel symbols are unavailable" message means the operating system configuration does not allow an unprivileged application to obtain kernel stack traces. In this case, profiler works absolutely fine, except that it does not show where exactly CPU time is spent inside system calls. If you don't need this level of details, you can completely ignore the above warning. If you want async-profiler to collect kernel stack traces, run the following commands on the host (not inside a container) under a privileged user (root):
Otherwise, if you are fine with user-mode stacks only, add |
Hi team,
I am receiving this error
[ERROR] Could not set pthread hook
when trying to use async profiler on a container.I have also given
SYS_ADMIN
capability to the container and is hosted on an ec2 instance. I tried to use the async profiler from the host too but receiving the same error. Any help would be appreciated.Thanks
The text was updated successfully, but these errors were encountered: