Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/en/profiler/profiler_troubleshooting/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ Override templates let you specify profiling properties to override. However, th
java -javaagent:/path/to/dd-java-agent.jar -Ddd.profiling.enabled=true -Ddd.logs.injection=true -Ddd.profiling.jfr-template-override-file=</path/to/override.jfp> -jar path/to/your/app.jar
```

<div class="alert alert-info">JFR template overrides are applied at JVM startup. After you create or modify an override file, restart the application for the changes to take effect.</div>

### Advanced Linux settings for CPU profiles

The CPU profiler engine works on most systems, but if the value of `/proc/sys/kernel/perf_event_paranoid` is set to `3`, the profiler can't use perf events to schedule CPU sampling. This results in degraded profile quality, falling back to using itimer. Set `/proc/sys/kernel/perf_event_paranoid` to `2` or lower with the following command:
Expand Down
Loading