pyroscope icon indicating copy to clipboard operation
pyroscope copied to clipboard

ebpf profiling does not work in kind

Open korniltsev opened this issue 2 years ago • 1 comments

-pid=host does not work in kind and it runs in a separate pid namespace

https://github.com/kubernetes-sigs/kind/issues/3182

If the pods are running as privileged(I am not 100% sure) we may consider adding an option to try to escape the pid namespace with https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/ for smoother dev experience

korniltsev avatar Jul 11 '23 07:07 korniltsev

we should improve and autodetect if not running root pid namespace

korniltsev avatar Dec 15 '23 11:12 korniltsev

We now compare the PID in ebpf with the same PID namespace that is used in userspace

#3008

simonswine avatar Feb 21 '24 14:02 simonswine