Created
          February 1, 2019 11:45 
        
      - 
      
- 
        Save daverigby/dcfcaae1a9915ff9008a17df627b9dd3 to your computer and use it in GitHub Desktop. 
    Running `linux perf` against a Docker container process
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | # 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