This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Outside the container on COS: | |
## Enable kernel profiling | |
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid | |
## Start a privileged container with the ability to see all system processes | |
## and networks. | |
docker run -it --privileged --net=host --pid=host debian:jessie-backports /bin/bash | |
# Inside the container: | |
## Install the correct linux-perf tool. |