Skip to content

Instantly share code, notes, and snippets.

@lemire
Created May 3, 2020 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lemire/36f3a288fc963fd824a02b2c9bb3296b to your computer and use it in GitHub Desktop.
Save lemire/36f3a288fc963fd824a02b2c9bb3296b to your computer and use it in GitHub Desktop.
Running perf under docker
docker run -it --privileged ubuntu bash
apt-get update
apt-get install linux-tools-generic
/usr/lib/linux-tools/5.4.0-28-generic/perf stat ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment