title: Using valgrind to profile the whole machine?
body: <p>I would like to use valgrind (<a href="http://valgrind.org" rel="nofollow noreferrer">http://valgrind.org</a>) to profile the whole system instead of just the command provided. </p>
  
  <p>From the documentation:</p>
  
  <blockquote>
    <p>valgrind --leak-check=yes myprog arg1 arg2</p>
  </blockquote>
  
  <p>I want to provide sleep 100 for example for myprog and arg1 so that it can collect data for 100 seconds.</p>