Skip to content

Instantly share code, notes, and snippets.

@daverigby
Created February 1, 2019 11:45
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 daverigby/dcfcaae1a9915ff9008a17df627b9dd3 to your computer and use it in GitHub Desktop.
Save daverigby/dcfcaae1a9915ff9008a17df627b9dd3 to your computer and use it in GitHub Desktop.
Running `linux perf` against a Docker container process
# From the host:
$ nsenter -t <PID as seen by host> /bin/bash
$ perf top / perf report etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment