How to probe a go process in a container (Part 1)
Suppose we have a go application named gin-demo, and we run it in a docker container as below:
sudo docker run -it --rm -p 8080:8080 -v $(pwd):/app -w /app debian ./gin-demo
We can probe the function in gin-demo as:
sudo bpftrace -e "u:./gin-demo:*Get { print(probe); }"
#ebpf
https://t.me/danteslimbo/3659
Suppose we have a go application named gin-demo, and we run it in a docker container as below:
sudo docker run -it --rm -p 8080:8080 -v $(pwd):/app -w /app debian ./gin-demo
We can probe the function in gin-demo as:
sudo bpftrace -e "u:./gin-demo:*Get { print(probe); }"
#ebpf
https://t.me/danteslimbo/3659