I am trying to profile a kubernetes pod using the BCC tools. The environment is:
When I run "profile" inside the container, I see the BCC is working to get profile output.
However, if I run "profile -p <container pid>" using a pid of a container, the profile output comes out empty.
There are 2 ways I get the pid of a container: 1. "docker ps" followed by "docker inspect <container_id> '{{ .State.Pid }}'" 2. Directly check "ps" on the minikube console.
Any help will be appreciated. Thanks.