Skip to main content

Julia Support

In order for the Polar Signals Agent to be able to profile Julia code, Julia version 1.9 or above has to be used with the ENABLE_JITPROFILING=1 environment variable set.

Troubleshooting

Below are some situations and how to troubleshoot them. If you've tried these and still haven't been able to resolve the issue, please contact support.

All I can see is memory addresses

First make sure the Julia version 1.9+ is used and that the process is started with the ENABLE_JITPROFILING=1 environment variable set.

Then check that the process is successfully writing a perfmap. By default, perfmaps are written to /tmp/perf-<PID>.map.

On Kubernetes for example this can be checked with:

kubectl exec --namespace <namespace-name> <pod-name> -- ls -la /tmp

For example:

$ kubectl exec -n default julia-demo -- ls -la /tmp
total 144
drwxrwxrwt 1 root root 4096 Jul 12 08:59 .
drwxr-xr-x 1 root root 4096 Jul 12 08:59 ..
-rw-r--r-- 1 root root 131811 Jul 12 08:59 perf-1.map

In this example the file we're looking for is the perf-1.map. For you it should be called something similar.