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

Disable Kernel symbol unavailable log #85

Closed
KaczDev opened this issue Apr 6, 2023 · 2 comments
Closed

Disable Kernel symbol unavailable log #85

KaczDev opened this issue Apr 6, 2023 · 2 comments

Comments

@KaczDev
Copy link

KaczDev commented Apr 6, 2023

Hi,
Is it possible to disable / hide this log from the agent?

[WARN] Kernel symbols are unavailable due to restrictions. Try
  sysctl kernel.kptr_restrict=0
  sysctl kernel.perf_event_paranoid=1

I am using the tracing integration with opentel.
https://pyroscope.io/docs/java-tracing/

It's probably coming from here.
https://github.com/async-profiler/async-profiler#basic-usage

@korniltsev
Copy link
Collaborator

AP has loglevel argument, I will need need to pass it from pyroscope to AP.

In the meantime I suppose you can switch to itimer instead of cpu

@korniltsev
Copy link
Collaborator

fixed in #91

You can suppress it with PYROSCOPE_AP_LOG_LEVEL="none" or PYROSCOPE_AP_EXTRA_ARGUMENTS="loglevel=none" or PYROSCOPE_AP_EXTRA_ARGUMENTS="alluser"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants